Issue I am getting some strange issue where one of TextField always gets clears if you tap on it. class MyEditText extends StatefulWidget { static String tag = “MyEditText”; @override MyEditTextState createState() => MyEditTextState(); } class MyEditTextState extends State<MyEditText> {
Continue readingTag: flutter
No Scaffold widget found : Getting exception while opening Bottom Dialog sheet
Issue I’m using Scaffold widget but while opening a bottom dialog sheet I’m getting this exception @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(“Calendar”), ), body: SafeArea( ……. ……. child: GestureDetector( onTap: (){ //getting exception here showBottomSheet(
Continue readingHow can I dynamically align Widgets in a Row in Flutter?
Issue I have a widget that consists of a Row() with MainAxisAlignment.spaceEvenly, and has three IconButton as children. The third button uses a bool showButton in a ternary operator to toggle whether the third button is displayed or not. My
Continue readingHow can I change the height of a TextField in Flutter?
Issue I want to change the height of a TextField in Flutter but I don’t know which one is the best way. Wrap the TextField in a SizedBox Use content padding property If you have some experience, please share it.
Continue readingImplementing transitions in a BottomSheet
Issue I’m trying to implement the following design, but I can’t seem to get my head around the way I should do it 😛 I was thinking about using a BottomSheet displayed via the showModalBottomSheet function, but I can’t figure
Continue readingFlutter: How to make a widget sticky on an image
Issue I am creating a website in flutter. One section is called ‘About us’ with a group picture of the team (I replaced the actual image for privacy reasons): As you can see there are 5 buttons in the image.
Continue readingFlutter – How to stop Bloc Listeners to run in the background stack
Issue I am having a problem with my project. The problem is that I have when I push and go to another page and I run a BlocProvider to run a bloc function in that page, the BlocListener in the
Continue readingHow to put border rounded in DropdownButtonFormField? using flutter
Issue How to put border rounded in DropdownButtonFormField? and how to make background color in the dropdown icon? please see the picture below Container( padding: EdgeInsets.only(top: 10), width: (globals.screenWidth * 0.8), height: (globals.screenHeight * 0.08), color: Colors.white, child: DropdownButtonFormField( style:
Continue readingHow do i handle errors in Dio package
Issue okay so im using dio package to authenticate users in my app. it works fine but i want to be able to show the error message in a toast message for the user and i have absolutely no idea
Continue readingFlutter app is not working in debug mode on my Vivo Phone
Issue I have been working with flutter for last 2 year. But I cannot resolve this problem with my new phone Vivo V27s (android 13). Whenever I’m trying to build my app, It shows: Launching lib\main.dart on V2322 in debug
Continue reading