How can i create this type of design in flutter?
I have a list of items i want to filter with when a container is selected, when you select an item it should take you a different widget which also have a list of items. I'll give a picture below…
I have a list of items i want to filter with when a container is selected, when you select an item it should take you a different widget which also have a list of items. I'll give a picture below…
[!Here is the code where i got an error, I could not use [] for this code return ListView.builder( reverse: true, itemCount: chatDocs?.length, itemBuilder: (ctx, index) => MessageBubble( chatDocs[index].data()['text'], chatDocs[index].data()['username'], chatDocs[index].data()['userImage'], chatDocs[index].data()['userId'] == user.uid, ), // Container( // padding: const…
child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( widget.category, //here ) I want to display the category where i call it from database but the Text fill occur an error. Please help me
I am building a profile page for a flutter app where a user uploads an image from their gallery and it gets uploaded to FirebaseStorage. I am facing a problem where I'm getting a CastError that's based on using the…
According to documentation, RestorableBool class is a RestorableProperty that knows how to store and restore a bool. One example of RestorableBool is given by flutter itself in the flutter gallery project. The same result can be achieved by using simple…
I am toggling application theme inside Scaffold drawer. Whenever I switch themes drawer immediately closes. Is there any way to keep drawer form closing on parent rebuild due to theme change? return Drawer( child: ListView( // Important: Remove any padding…
return FutureBuilder( future: FirebaseAuth.instance.currentUser(), The function can't be unconditionally invoked because it can be 'null. Try adding a null check ('!'). ... This is the code where I got the error, I tried to add null check operator but could…
this is my code... it says errorerror SingleChildScrollView( child: Row( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ weightIndicator( 0, '0,2 kg', ), weightIndicator( 0, '0,4 kg', ), weightIndicator( 0, '0,6 kg', ), weightIndicator( 0, '0,8 kg', ), weightIndicator( 0, '1,0 kg', ), ],…
class StudentModel { final String name; final String age; StudentModel({required this.name, required this.age}); } this is StudentModel class I didn't understand how the values will store in this List
I'm running flutter build appbundle command and getting the error you can see on the image. what's wrong in signingConfigs. signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] } } buildTypes {…