DecoratorBoxState.builder constructor

const DecoratorBoxState.builder({
  1. Key? key,
  2. List<DecoratorEntry> suffixes = const [],
  3. List<DecoratorEntry> prefixes = const [],
  4. BorderType borderType = BorderType.outline,
  5. BorderRadius? borderRadius,
  6. BorderSide borderSide = const BorderSide(color: Colors.black),
  7. BorderSide? focusBorderSide,
  8. Widget? header,
  9. Widget? footer,
  10. EdgeInsetsGeometry? margin,
  11. EdgeInsetsGeometry? padding,
  12. Color? fillColor,
  13. List<BoxShadow>? boxShadow,
  14. Gradient? gradient,
  15. BoxConstraints? constraints,
  16. required DecoratorBoxStateBuilder? builder,
  17. 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;