You do not have a
An Expanded widget must be a descendant of a Row, Column, or Flex, and the path from the Expanded widget to its enclosing Row, Column, or Flex must contain only StatelessWidgets or StatefulWidgets (not other kinds of widgets, like RenderObjectWidgets).
I am not sure about the need for
Expanded in your case. But removing it or wrapping it in a
Column should fix the problem.
- Multi-line Textfield in flutter
- Space between Column’s children in Flutter
- How to make an AlertDialog in Flutter?
- Flutter SVG rendering
- Not able to change TextField Border Color
- How to change textField underline color?
- Pass a function with parameters to a VoidCallback
- How to preserve widget states in flutter, when navigating using BottomNavigationBar?
- Flutter : Bad state: Stream has already been listened to
- How to check the installed version of Flutter?
- Passing data between screens in Flutter
- PageView: Disable the default scrolling and replace it with Tap event
- How do I change Text Input Action Button (return/enter key) on Keyboard in Flutter?
- Error thrown on navigator pop until : “!_debugLocked’: is not true.”
- How to force Flutter to rebuild / redraw all widgets?
- Flutter Error: MediaQuery.of() called with a context that does not contain a MediaQuery
- Make AppBar transparent and show background image which is set to whole screen
- How to clear Flutter’s Build cache?
- converting string to map in dart
- How to make a full screen dialog in flutter?
- Flutter: Detect keyboard open and close [duplicate]
- Flutter: Ignore touch events on a Widget
- Flutter – How to set status bar color when AppBar not present
- Slide focus to TextField in Flutter
- unable to convert string date in Format yyyyMMddHHmmss to DateTime dart
- Correct way of storing API Keys in flutter following best practises
- Flutter Switching to Tab Reloads Widgets and runs FutureBuilder
- Check if a file exists before loading it
- dart advantage of a factory constructor identifier
- Emit the data to parent Widget in Flutter
- Flutter AbsorbPointer vs IgnorePointer difference
- How to format an interpolated String
- Create rounded cached image in Flutter
- Navigator routes Clear the stack of flutter
- How can we change appbar background color in flutter
- How to update a single item in flutter list, as a best way
- Blurred Decoration Image in Flutter
- Flutter/Dart how to groupBy list of maps
- How do I determine the width and height of an image in Flutter?
- Persisting AppBar Drawer across all Pages Flutter
- Flutter ListView Item Click Listener
- How do I build different versions of my Flutter app for qa/dev/prod?
- AlertDialog without context in Flutter
- How to style AlertDialog Actions in Flutter
- How to Pick files and Images for upload with flutter web
- flutter: Unhandled Exception: Bad state: Cannot add new events after calling close
- Difference in NetworkImage and Image.network?
- how do I check the file size of a video in flutter before uploading
- Vertically center text in text field in Flutter
- How to change from Stateless Widget to Stateful Widget?