send data to stateful widget in flutter code example
Example: flutter pass parameter to statefulwidget
class _RecordPageState extends State<RecordPage> {
Widget build(BuildContext context) {
.....
widget.recordObject
.....
}
}
class _RecordPageState extends State<RecordPage> {
Widget build(BuildContext context) {
.....
widget.recordObject
.....
}
}