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.
I'm trying to put a Scroll Bar in my web app, the Scrollbar appeared but when I tried to move it, it didn't move. I can see the bar but I can't drag it. I can scroll using the mouse scroller wheel but not with the bar. Saw this but it didn't help.…
I'm trying to build in production mode my flutter app for web, but I have my "main.dart" file not in the root lib directory, this cause to not be able to build my app for web, I have tried to point the path to where the "main.dart" file is,…
Recently i'm getting this Error in flutter trying to test if Excel file been created or not.the thing is that i used the same code in one of the oldest project and worked perfectly. I'm trying to use the web Device so when i press the Button the…
This is the error
Running "flutter pub get" in inventory_controller...
6.2s Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering
with "--enable-software-rendering".…
I have created a custom button widget in flutter called BottomButton. Since I feel that the implementation of the custom widget is not necessary for the question, I have simply omitted it.
BottomButton(
text: "Tap to Login",
…
What is the difference between onSubmitted vs onEditingComplete in Flutter textField widgets?
I mean, onSubmitted already passes us the value the user has entered which we can use when submitting is done. Why need an onEditingComplete property?
I…
Flutter2.2 shows the black color as icon text fields.
Flutter2.5 shows the white color as icon text fields.
After adding IconThemeData(), I can see the black color as icon text fields in Flutter2.5
appBarTheme: xxx(
iconTheme:…
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 using dart migrate…
I had built an application and I'm trying to show feature discovery but, It is not showing discovery. Also not showing any error.
Question I Referred To Solve Issue
Main.dart
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
…
Can someone tell me why my code is not making the border blue, and let it have width of 3.0?
This is what it looks like (L: my app, R: tutorial app):
The code:
class CreateRoomButton extends StatelessWidget {
@override
Widget build(BuildContext…
We can define a parameter that is required and nullable in Flutter version 2, does it make sense? Why should we have a required parameter which accepts null?
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 read online and several people have these problems, the…
I have the problem with flutter 2.0 and androidX project, with iOS work fine. I already check all the documentation and issues but no lucky.
I'm working with those libraries in pub spec.yaml:
image_picker: 0.7.5+3
permission_handler: ^8.0.0+2
the…
I have used setUrlStrategy(PathUrlStrategy()); to remove # from the url, but since then my pages stopped reloading after I deploy my project on web, it shows 404 page not found. but works perfectly on localhost.
if I remove…