StatedBuilder<TS extends Stated>.patterns constructor

const StatedBuilder<TS extends Stated>.patterns({
  1. Key? key,
  2. required TS stated,
  3. Widget? child,
  4. required Map<OnState<Stated>, ValueWidgetBuilder<Stated>> patterns,
})

Implementation

const StatedBuilder.patterns({
  Key? key,
  required this.stated,
  this.child,
  required this.patterns,
}) : super(key: key);