Passing data to StatefulWidget and accessing it in it’s state in Flutter

Posted by Jessica Taylor | Updated on

Passing data to StatefulWidget and accessing it in it’s state in Flutter. To use recordObject in _RecordPageState, you have to just write widget.objectname like below:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers