kIsWeb to detect the web, and defaultTargetPlatform for mobile and desktop. Avoid Platform.isAndroid from dart:io in shared code, because it throws on the web.flutter doctor --android-licenses and accept each prompt. If the command fails, install the Android SDK command-line tools and make sure Flutter can find the SDK.! on a value that was null at that moment. Replace the bang with a null check, a default using ??, or fix the order in which the value gets set.Row or Column received children larger than the space available. Wrap flexible children in Expanded or Flexible, or put the content in a scroll view.mounted before calling setState, and cancel timers, listeners and subscriptions in dispose().flutter_background_service (Android foreground service) or workmanager (scheduled tasks), and expect strict limits on iOS.build_runner runs code generators and writes the generated .g.dart files. Run dart run build_runner build --delete-conflicting-outputs, or watch to rebuild as you edit.@JsonSerializable(), add fromJson and toJson that call the generated functions, and run build_runner to create the .g.dart file.[ ] and named parameters in { }. Give them a default value or make them nullable, and mark named ones required when they must be passed.sqflite and path packages, open the database with openDatabase, create tables in onCreate, then use insert and query for data.Try Bugsee for free — no commitments, no hidden fees.