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