StatedWidget.builder constructor

const StatedWidget.builder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. Set<WidgetState> states
    ),
})

Implementation

const factory StatedWidget.builder({
  Key? key,
  required Widget Function(BuildContext context, Set<WidgetState> states)
      builder,
}) = _BuilderStatedWidget;