Top "Dart-2" questions

Dart 2 is changing the Dart language in many ways, some of which are not backward-compatible.

What is the correct way to add date picker in flutter app?

In my app I am creating signup page where I need to add DOB. I want to add date picker …

android ios flutter flutter-layout dart-2
BoxConstraints forces an infinite width

I am getting an error when I add a row in column. I am getting following error: I/flutter ( 6449): ══╡ EXCEPTION …

flutter flutter-layout dart-2
Upload & fetch media files from AWS S3 in Flutter

My flutter app is using firebase as a backend but I need to store media files (photos & videos) in …

amazon-web-services amazon-s3 dart flutter dart-2
Could not find a generator for route "home-page" in the _MaterialAppState

I am getting exception when I trying to navigate from one view to another in flutter app. I/flutter ( 2199): ══╡ EXCEPTION …

dart flutter flutter-layout dart-2
The argument type 'Object' can't be assigned to the parameter type 'ImageProvider<Object>'

I just updated to Dart2 and Flutter sdk: '>=2.12.0 <3.0.0' and now this if statement breaks: decoration: new …

flutter if-statement typeerror dart-2
NoSuchMethodError: The method 'ancestorStateOfType' was called on null

i am doing screen change like this iam listing for stream and when it emit i change the screen @override …

dart flutter dart-2
Cannot focus on TextField in new page after navigating in Flutter

For some reason, I cannot focus on a TextField after on the next page after navigating. The keyboard would automatically …

dart flutter dart-2
How do I declare 64bit unsigned int in dart/flutter?

For an app, I need a 64bit unsigned int. Looking at dart documentation I did not see how to exactly …

dart int flutter unsigned dart-2
pub global activate command - $HOME/.pub-cache/bin not on path

I was trying to install dart2 recently, but when I try to install pub global activate stagehand, it comes with …

dart angular-dart dart-pub dart-2
Only static members can be accessed in initializer. Dart2.0

I am using banklist in stateful widget. passing list to pageState using List<Bank> bankLists = this.widget.bankLists; …

dart flutter dart-2