buildWithProps method

  1. @override
Widget buildWithProps(
  1. BuildContext context
)
override

Replaces build method. You can return your widget here, and it will automatically be wrapped with any registered prop builders. Common props that use builders are LayoutProp, TapDetectorProp and KeyboardListenerProp

Implementation

@override
Widget buildWithProps(BuildContext context) {
  return TextField(focusNode: focus.node);
}