Widget build(BuildContext context) method on
State rather putting a
Widget build(BuildContext context, State state) method on
StatefulWidget gives developers more flexibility when subclassing
StatefulWidget. You can read a more detailed discussion on the API docs for
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.