Issue but I can not make this . I want know how to make it maybe it need shadow or offset now my code floatingActionButton: _videoController?.value.isInitialized != null ? FloatingActionButton( backgroundColor: Colors.lightBlue[400], onPressed: () { setState(() { _videoController!.value.isPlaying ? _videoController!.pause()
Continue readingTag: flutter-widget
Flutter lifting the state up through multiple dynamically added widgets
Issue I’m trying to build a parent widget that has a button, when clicked, it displays another widget with some text and a drop-down list. When the drop-down selection is changed, the text should change accordingly. I’ve included below a
Continue readingFlutter lifting the state up through multiple dynamically added widgets
Issue I’m trying to build a parent widget that has a button, when clicked, it displays another widget with some text and a drop-down list. When the drop-down selection is changed, the text should change accordingly. I’ve included below a
Continue readingI want to put height constraints on a Flexible widget
Issue My screen has three widgets : First one is a ListView of widgets, the number of widgets can be incremented with a button. I want the ListView to take only the required space that’s why I wrapped it in
Continue readingHow can I add a Container after a FutureBuilder?
Issue How can you add more Containers or Widgets after using FutureBuilder? I’ve been trying to combine these 2 blocks of code into one but can’t figure out how to do so. I need the 2 buttons from code-block 2
Continue readingCupertinoPicker with multiple column fields
Issue Hey I’m looking to implement the above widget: I’m a bit struggling to implement it using CupertinoPicker or CupertinoDatePicker. How do I do that? Solution The solution was to upload two Cupertino.builders side by side. The downside is that
Continue readingChnage Shape of Image in Flutter
Issue Hope everyone doing well. I am new in flutter I want to know how to give shape of an image like this, I have attached the sample… The image is coming from database Solution You can use Stack widget,
Continue readingChnage Shape of Image in Flutter
Issue Hope everyone doing well. I am new in flutter I want to know how to give shape of an image like this, I have attached the sample… The image is coming from database Solution You can use Stack widget,
Continue readingHow to store a return value in variable flutter
Issue I need a little help. I have this function in another file and i want to store the return value in a variable, because i dont want to repeat the same code again and again and I want to
Continue readingReturn value from widget to parent class
Issue I encounter the following issue. In Body class I have a widget Counter (Counter class) and what I need to do is to get the currentAmount value and return to Body class and then, this value I will use
Continue reading