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