DecoratorBoxState.builder constructor
const
DecoratorBoxState.builder({
- Key? key,
- List<
DecoratorEntry> suffixes = const [], - List<
DecoratorEntry> prefixes = const [], - BorderType borderType = BorderType.outline,
- BorderRadius? borderRadius,
- BorderSide borderSide = const BorderSide(color: Colors.black),
- BorderSide? focusBorderSide,
- Widget? header,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? fillColor,
- List<
BoxShadow> ? boxShadow, - Gradient? gradient,
- BoxConstraints? constraints,
- required DecoratorBoxStateBuilder? builder,
- bool hasFocusChangeBorder = true,
Implementation
const DecoratorBoxState.builder({
super.key,
this.suffixes = const [],
this.prefixes = const [],
this.borderType = BorderType.outline,
this.borderRadius,
this.borderSide = const BorderSide(color: Colors.black),
this.focusBorderSide,
this.header,
this.footer,
this.margin,
this.padding,
this.fillColor,
this.boxShadow,
this.gradient,
this.constraints,
required this.builder,
this.hasFocusChangeBorder = true,
}) : assert(builder != null),
child = null,
focusNode = null;