DesignInputGroupBuilder typedef

DesignInputGroupBuilder = Widget Function(BuildContext context, Set<WidgetState> states, Widget child)

Builds the group's frame around child (the field and its add-ons) for states: WidgetState.focused while anything inside has focus, WidgetState.hovered, WidgetState.disabled and WidgetState.error.

Implementation

typedef DesignInputGroupBuilder = Widget Function(
  BuildContext context,
  Set<WidgetState> states,
  Widget child,
);