WrapperModel constructor
const
WrapperModel({
- WrapperType wrapperType = WrapperType.padded,
- EdgeInsets padding = const EdgeInsets.all(8),
- EdgeInsets? margin,
- double borderRadius = 8.0,
- Color? backgroundColor,
- Color? borderColor,
- double? borderWidth,
- double elevation = 4.0,
- double blurX = 8.0,
- double blurY = 8.0,
- Color? shadowLightColor,
- Color? shadowDarkColor,
- Gradient? gradient,
- Widget customWrapperBuilder(
- Widget child
Implementation
const WrapperModel({
this.wrapperType = WrapperType.padded,
this.padding = const EdgeInsets.all(8),
this.margin,
this.borderRadius = 8.0,
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.elevation = 4.0,
this.blurX = 8.0,
this.blurY = 8.0,
this.shadowLightColor,
this.shadowDarkColor,
this.gradient,
this.customWrapperBuilder,
});