view method

Widget view(
  1. BuildContext context
)
override

Override this method to define the main field widget content.

This method should return the primary UI widget for the field (e.g., TextField, DropdownButton, Checkbox). The default implementation returns an empty SizedBox.

Implementation

Widget view(BuildContext context) {
  return const SizedBox.shrink();
}