Questions tagged [flutter2.0]

For questions about Flutter UI software development kit that are specific to version 2 of the framework. Use the more generic [flutter] tag on all Flutter questions, and only add this one if your question is specific to version 2.


Resource


Source Code and Building


Community


Related tags

89 questions
1
vote
1 answer

Is it possible to achieve edge lighting notification in flutter?

I am new to flutter and I want to achieve the functionality of lighting the mobile edge whenever I receive notification in my app. Is there any package available? (Although, I already google it and I can't find it.) How can we achieve this type of…
1
vote
0 answers

Adwidget google_mobbile_ads flutter banner hangs camera on Android but not in iOS

I was using google_mobile_ads plugin to display ad as suggested in this codebook. I tried this on my existing app with camera and tflite plugins to display a banner ad. I am able to display the ad successfully, but the camera completely hangs(in…
crazydiv
  • 812
  • 9
  • 30
1
vote
0 answers

Flutter 2. After migrating I've got a problem with scrollview animateTo(...), called inside addPostFrameCallback

Basically, I have a Scrollable Column of Sections. Each section is an Expansion Tile, with a [ ListView ] as children attribute. (ListView uses NeverScrollPhysics, so all the children of the ListView are built at once). When I open a section (expand…
estatico
  • 93
  • 8
1
vote
1 answer

How to show an url at the bottom corner of a desktop browser window on Flutter web?

I am designing a web application using flutter and I want users to be able to see the destination url which usually appear at the bottom corner of desktop browser windows when they click or hover over the elements containing the link on the web page
Dzeri
  • 891
  • 1
  • 8
  • 15
1
vote
1 answer

Flutter Validator String Requires Null Aware But Compiler Warns Not Needed

I have a TextFormField: TextFormField( textAlign: TextAlign.center, autovalidateMode: AutovalidateMode .onUserInteraction, onChanged: (value) {}, controller: firstNameTextInputController, validator: (input) => …
Seth Kitchen
  • 1,526
  • 19
  • 53
1
vote
0 answers

Unable to run Flutter App on iPhone 11 Pro after upgrading to Flutter 2

I upgraded to Flutter 2 and when I run App on iPhone 11 Pro on Android Studio I get the error below. Running the App on Xcode works fine. Didn't have this problem until I upgraded to Flutter 2. Failed to build iOS app Error output from Xcode…
BDR
  • 143
  • 1
  • 11
1
vote
1 answer

Flutter 2.0 - Web - Force desktop mode (because they are displayed differently)

the app from chrome on desktop and mobile are different. the correct one is the one from desktop. the app on the mobile device (in this case iOS) has the images cut out from the screen or completely moved, plus there is a sort of zoom. If from…
bl4ckr0se
  • 606
  • 8
  • 15
1
vote
1 answer

GridView.builder is not scrolling

I have this code and I am trying to make this gridview scrollable and no matter what I do it is not scrolling. I keep getting this renderoverflow error. I have tried to wrap it around SingleChildScroll view and also physics: ScrollPhysics() in its…
Raza Shabbir
  • 146
  • 5
1
vote
1 answer

Dart null safety and smart detecting non nulls

I have problems with Dart null safety. Even when I explicitly check for nulls, it still complains The exclamation mark is solving that but it's pretty ugly and cumbersome. Is there a way to make it smarter and nicer? Like e.g. header?.let{…
jakub
  • 3,576
  • 3
  • 29
  • 55
1
vote
1 answer

Flutter, error with new google mobile ads sdk

I'm having issues just using google_mobile_ads, when I try the method in the flutter tutorial I don't know how to make it work in my main main import 'package:android_alarm_manager/android_alarm_manager.dart'; import…
1
vote
1 answer

Flutter version issues when update to Flutter 2.0

All my classes are getting errors after updating. I tried flutter clean as well. When ever i run flutter pub get command i get the following error. Because no versions of intl_utils match >1.8.0 <1.9.0 and intl_utils ^1.9.0 depends on…
1
vote
1 answer

Flutter 2.0 too slow for first time

I have upgraded to flutter 2.0.1 and tried running the flutter demo app in my android device even after an hour the message is still running gradle... is there a way to fix this or did i miss anything. PS: it got build for web and launched in some…
1
vote
1 answer

Flutter 2 Renders Images Pixelated

Flutter 2 was released today and I've just upgraded the stable channel in Flutter for a test project. Images are immediately rendered pixelated/low-res. I imagine it has something to do with CanvasKit. Has anyone any idea of how to fix this?
Jacobo Koenig
  • 11,728
  • 9
  • 40
  • 75
0
votes
1 answer

The argument type 'BannerAd?' can't be assigned to the parameter type 'AdWithView'

I upgraded my app to Flutter 2 and made all the things null safe. After that, I am encountering an error implementing Google mobile ads SDK. I followed all the documentation and according to that, I am not supposed to get this error although the…
0
votes
3 answers

Draggable Scrollable Sheet becomes unscrollable when we set it's child to a column

I have the following code for a DraggableScrollableSheet in Flutter. DraggableScrollableSheet( builder: (BuildContext context, ScrollController scrollController) { return ClipRRect( borderRadius: BorderRadius.only( topLeft:…