NeumorphicContainer constructor
const
NeumorphicContainer({
- Widget? child,
- ShapeBorder shape = const ContinuousRectangleBorder(),
- double blur = 0,
- double borderBlur = 0,
- EdgeInsets padding = const EdgeInsets.all(0),
- EdgeInsets margin = const EdgeInsets.all(0),
- List<
Shadow> shadows = const <Shadow>[], - Gradient? gradient,
- Gradient? borderGradient,
- Color color = const Color.fromARGB(0, 0, 0, 0),
- List<
Shadow> innerShadows = const <Shadow>[], - Color? accentColor,
- Alignment? accentAligment,
- double width = double.infinity,
- double height = double.infinity,
- double accentIntensity = 0,
- Key? key,
Creates a NeumorphicContainer widget.
The shape
, blur
, borderBlur
, padding
, margin
, shadows
, innerShadows
,
color
, width
, height
, and accentIntensity
arguments must not be null.
Implementation
const NeumorphicContainer({
this.child,
this.shape = const ContinuousRectangleBorder(),
this.blur = 0,
this.borderBlur = 0,
this.padding = const EdgeInsets.all(0),
this.margin = const EdgeInsets.all(0),
this.shadows = const <Shadow>[],
this.gradient,
this.borderGradient,
this.color = const Color.fromARGB(0, 0, 0, 0),
this.innerShadows = const <Shadow>[],
this.accentColor,
this.accentAligment,
this.width = double.infinity,
this.height = double.infinity,
this.accentIntensity = 0,
super.key,
});