Issue I’m having problems upgrading a custom package to null safety and am not finding any solutions or even the same problem when searching on here and any other platform. When upgrading a custom package for Flutter 2.0 null-safety I’m
Continue readingTag: flutter2.0
Flutter give me CompileSwift failed with a nonzero exit code
Issue I have updated a flutter app to Flutter version 2.2.1 • channel stable, but when it runs the flutter run on ios devices I get the following errors, what is this due to? how can i fix it? i
Continue readingFlutter http 0.13.0 : String can not assign to Uri
Issue I have upgraded http version and getting this type of error. The argument type ‘String’ can’t be assigned to the parameter type ‘Uri’. Any solution for convert String to Uri? Solution As per the changelog of http, you need
Continue readingFlutter TextButton padding
Issue With the Flutter 2.0 release, the FlatButton has been replaced with TextButton. Hence, the padding property is not longer available directly, but as a ButtonStyle property. My problem is, how can I set it since it’s no longer available
Continue readingIssue in shared_preference: ^2.0.3 (latest till now 10-03-2021)
Issue After updating flutter I have issue in one of my project. Error Log is below. Main issue is pref not save perfectly on device. some pref is save and some left. I checked it from fluttersharedprefs.xml E/MethodChannel#plugins.flutter.io/shared_preferences( 9295): at
Continue readingFlutter keyboard not showing up on both emulator and real devices>
Issue What I mean is that the keyboard did show up for milliseconds and it then disappeared immediately, this is inside a Modal Bottom Sheet, but I don’t think it’s the problem of the Sheet. Container( height: 50, width: double.infinity,
Continue readingFlutter Validator String Requires Null Aware But Compiler Warns Not Needed
Issue I have a TextFormField: TextFormField( textAlign: TextAlign.center, autovalidateMode: AutovalidateMode .onUserInteraction, onChanged: (value) {}, controller: firstNameTextInputController, validator: (input) => //////////////////////////// HERE (input!.length < 51 && input!.length > 1) ? null : "Invalid First Name", ////// End style: TextStyle( color: HexColor
Continue readingChanging the color and styling of the Button in Flutter
Issue I have migrated to Flutter 2.0 which is just the new release now. In my project I have used Flat Buttons but it got deprecated now in Flutter 2.0 and the suggestion pop up to use Text Button instead
Continue readingFlutter, error with new google mobile ads sdk
Issue 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 ‘package:behend/admob_service.dart’; import ‘package:behend/provider/alarm_manager.dart’; import ‘package:behend/provider/alarm_provider.dart’; import ‘package:behend/provider/setting_provider.dart’; import ‘package:behend/provider/stats_provider.dart’;
Continue readingDark status bar icons after migrating to Flutter 2
Issue I have recently updated the Flutter version from 1.22.6 to 2.0.2. But now after I create a new flutter project (default counter app), the status bar icons are dark. They were light before migrating to 2.0.2: How can it
Continue reading