Field.widget constructor
Field.widget({
- required Widget child,
Field.widget is a constructor that helps in managing widget fields
Implementation
Field.widget({required Widget child}) : autofocus = false {
widget = child;
key = _randomKey();
}