NeumorphicContainer constructor

const NeumorphicContainer({
  1. Widget? child,
  2. ShapeBorder shape = const ContinuousRectangleBorder(),
  3. double blur = 0,
  4. double borderBlur = 0,
  5. EdgeInsets padding = const EdgeInsets.all(0),
  6. EdgeInsets margin = const EdgeInsets.all(0),
  7. List<Shadow> shadows = const <Shadow>[],
  8. Gradient? gradient,
  9. Gradient? borderGradient,
  10. Color color = const Color.fromARGB(0, 0, 0, 0),
  11. List<Shadow> innerShadows = const <Shadow>[],
  12. Color? accentColor,
  13. Alignment? accentAligment,
  14. double width = double.infinity,
  15. double height = double.infinity,
  16. double accentIntensity = 0,
  17. 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});