StatedBuilder<TS extends Stated> constructor

StatedBuilder<TS extends Stated>({
  1. Key? key,
  2. required TS stated,
  3. Widget? child,
  4. required CallBuilder<StatedBuilderPatternBuilder<TS>> patternDefs,
})

Implementation

StatedBuilder({
  Key? key,
  required TS stated,
  Widget? child,
  required CallBuilder<StatedBuilderPatternBuilder<TS>> patternDefs,
}) : this.patterns(
        key: key,
        stated: stated,
        child: child,
        patterns: StatedBuilderPatternBuilder<TS>(patternDefs).build(),
      );