To use recordObject in _RecordPageState, you have to just write widget.objectname like below
class _RecordPageState extends State<RecordPage> {
@override
Widget build(BuildContext context) {
.....
widget.recordObject
.....
}
}
More Related Contents:
- Passing Data to a Stateful Widget in Flutter
- “The operator can’t be unconditionally invoked because the receiver can be null” error after migrating to Dart null-safety
- No data from sever API’s is not showing on Listview using flutter
- How to wait for forEach to complete with asynchronous callbacks?
- Null check operator used on a null value
- Flutter: Scrolling to a widget in ListView
- Flutter how to programmatically exit the app
- How to make flutter app responsive according to different screen size?
- How to take a screenshot of the current widget – Flutter
- How to create dropown list in flutter where data comes from API?
- How to use conditional statement within child attribute of a Flutter Widget (Center Widget)
- Flutter: Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized
- How to open DropdownButton when other widget is tapped, in Flutter?
- Flutter: Remove padding in buttons – FlatButton, ElevatedButton, OutlinedButton
- How can I navigate between 2 classes, one of them requires passing data? in flutter
- Cannot run with sound null safety because dependencies don’t support null safety
- Flutter, late keyword with declaration
- Smart cast (automatic type promotion) using ‘is’ is not working
- How to Determine Screen Height and Width
- How can I get the height of a widget?
- How to hide soft input keyboard on flutter after clicking outside TextField/anywhere on screen?
- How to work with progress indicator in flutter?
- How to get the color of the image pixel on which I clicked?
- Dart SDK is not configured
- Flutter: List is deprecated? [duplicate]
- How can a named route have URL parameters in flutter web?
- How to pass callback in Flutter
- How to save and download text file in Flutter web application
- What is the caret sign (^) before the dependency version number in Flutter’s pubspec.yaml?
- Difference between List.from() and as List in Dart