how to pass a parameter to a stateful widget flutter code example
Example: flutter pass parameter to statefulwidget
class _RecordPageState extends State {
@override
Widget build(BuildContext context) {
.....
widget.recordObject
.....
}
}