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,
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});