NeumorphicContainer constructor
NeumorphicContainer({
- Widget? child,
- double bevel = 12.0,
- CurveType curveType = CurveType.convex,
- Color? color,
- NeumorphicDecoration? decoration,
- AlignmentGeometry? alignment,
- double? width,
- double? height,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? margin,
- EdgeInsets? padding,
- Matrix4? transform,
- Key? key,
Implementation
NeumorphicContainer({
this.child,
this.bevel = 12.0,
this.curveType = CurveType.convex,
Color? color,
NeumorphicDecoration? decoration,
this.alignment,
this.width,
this.height,
BoxConstraints? constraints,
this.margin,
this.padding,
this.transform,
Key? key,
}) : decoration = decoration ?? NeumorphicDecoration(color: color),
constraints = (width != null || height != null)
? constraints?.tighten(width: width, height: height) ??
BoxConstraints.tightFor(width: width, height: height)
: constraints,
super(key: key);