You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
I have reviewed example code https://gallery.flutter.dev/#/demo/text-field. I think it is very verbose.
The concept of having TextFormFieldDemo and TextFormFieldDemoState I believe is a lot of code for such simple demo app.
Proposal
Reduce TextFormFieldDemo and TextFormFieldDemoState to a single class. Weather a widget is Stateful or Stateless should be internal and should not need explicit declaration by extending a State class. State should be POJOs.
The text was updated successfully, but these errors were encountered:
Use case
I have reviewed example code https://gallery.flutter.dev/#/demo/text-field. I think it is very verbose.
The concept of having TextFormFieldDemo and TextFormFieldDemoState I believe is a lot of code for such simple demo app.
Proposal
Reduce TextFormFieldDemo and TextFormFieldDemoState to a single class. Weather a widget is Stateful or Stateless should be internal and should not need explicit declaration by extending a State class. State should be POJOs.
The text was updated successfully, but these errors were encountered: