flutter-web

Embedded Youtube video widget disappears while the web page (created by Flutter for Web) is scrolled up or down

一个人想着一个人 提交于 2020-02-25 16:53:20
问题 I managed to put an embedded Youtube video on a web page created using Flutter for Web. The problem is that this video widget disappears while the page is scrolled up or down, and reappears when the scrolling stops. The Chrome developer console shows this error remote.js:34 GET chrome-extension://invalid/ net::ERR_FAILED Firefox doesn't issue any error message but the flickering of the Youtube video happens there as well. It appears that the webpage continually fetches the Youtube video info

Image picker flutter web 1.9

萝らか妹 提交于 2020-02-02 14:45:30
问题 Looking for image picker on new flutter web 1.9. I found a way but for less than 1.9, now that is merged dont know how can i achived this. Tried with dart:html but is not working on release! Only on running 回答1: It seems like as for Flutter web 1.10 dev , universal_html package is good candidate for the temporarily vacant position of dart:html : import 'dart:convert'; import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:universal_html/prefer_universal/html.dart'

How to make HTTP Request work in Flutter web?

旧时模样 提交于 2020-01-25 08:56:07
问题 I am trying to fetch data from My site link: http://mrmatjar.com/kaka/dataaza.php Here is my code import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:mrmatjar_afflite/shopobj.dart'; class Operations{ static Future<List<ShopObj>> loly() async{ List<ShopObj> ak= new List<ShopObj>(); var res = await http.get(Uri.encodeFull("https://mrmatjar.com/kaka/dataaza"),headers: {"Accept":"application/json"}); print(res); var v = json.decode(x.body); for(var h in v){ ak.add(new

Timeline View, Day view, Week View, Month view and add event Calendar flutter library?

老子叫甜甜 提交于 2020-01-24 00:36:07
问题 I am looking for Calendar Library in Flutter which has support for both web and mobile. Calendar must has all the following views Schedule View Day View (Timeline Hourly) 3/5 Days view (Timeline hourly) Weekly View (Timeline Hourly) Month View (Normal Calendar) If Google has open source project for same, from where code can be abstract that will also helpful. I have tried syncfusion-flutter-calendar but it does not support Flutter Web. Following is the screenshot of type of calendar view

Timeline View, Day view, Week View, Month view and add event Calendar flutter library?

╄→尐↘猪︶ㄣ 提交于 2020-01-24 00:35:59
问题 I am looking for Calendar Library in Flutter which has support for both web and mobile. Calendar must has all the following views Schedule View Day View (Timeline Hourly) 3/5 Days view (Timeline hourly) Weekly View (Timeline Hourly) Month View (Normal Calendar) If Google has open source project for same, from where code can be abstract that will also helpful. I have tried syncfusion-flutter-calendar but it does not support Flutter Web. Following is the screenshot of type of calendar view

Flutter firebase realtime database in web

时光毁灭记忆、已成空白 提交于 2020-01-22 02:15:17
问题 I'm trying to get my flutter app working in the browser and it depends on firebase_database. There is not really any documentation for how to do this, but I'm making some assumptions based off the firebase_core and firebase_auth documentations: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_core/firebase_core_web https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth_web My app is working on iOS and android, but I'm

How to change the default web server ip(127.0.0.1) of Flutter Web app

独自空忆成欢 提交于 2020-01-16 19:12:52
问题 Change the default IP(127.0.0.1) of flutter web App. I have created a flutter web application, when I run the web app the ip which assigned is 127.0.0.1 but i am unable to access the same app with my local IP over LAN. So please help on how can i change this. 回答1: Start app with command: webdev serve --hostname 0.0.0.0 Or replace 0.0.0.0 with your actual ip address. 来源: https://stackoverflow.com/questions/56967885/how-to-change-the-default-web-server-ip127-0-0-1-of-flutter-web-app

flutter for web: text cut off at bottom

浪尽此生 提交于 2020-01-16 08:45:08
问题 With web flutter my text is cut at the bottom when I display text I tried to put padding but it doesn't work. this problem this product everywhere even on the TextField new Container( width: menuRightWidthDesktop, height: getSize == 0 ? heightHeaderDesktop : getSize == 1 ? heightHeaderTablette : heightHeaderMobile, color: Colors.red, child: new Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, children: <Widget>[ new GestureDetector( child:

How to insert two action at one button OnPress - delete widget and create it by new?

。_饼干妹妹 提交于 2020-01-06 06:11:09
问题 At the picture i tried to display: 1-1 - how looks error. 2-2 - how I solved it. But it only works by pressing both button (at first DELETE and then RANDOM) It will be better to make only one action, but I havent done it. and i trying to insert code to delete widget and create it by new at one button action. But its not working. I cannt understand why and how to make it work? code: https://github.com/develop86229/editTextControl FlatButton( child: Text("RANDOM"), onPressed: () { setState(() {

How to insert two action at one button OnPress - delete widget and create it by new?

[亡魂溺海] 提交于 2020-01-06 06:10:44
问题 At the picture i tried to display: 1-1 - how looks error. 2-2 - how I solved it. But it only works by pressing both button (at first DELETE and then RANDOM) It will be better to make only one action, but I havent done it. and i trying to insert code to delete widget and create it by new at one button action. But its not working. I cannt understand why and how to make it work? code: https://github.com/develop86229/editTextControl FlatButton( child: Text("RANDOM"), onPressed: () { setState(() {