Neumorphism constructor
const
Neumorphism({
- Key? key,
- Widget? child,
- Duration duration = Neumorphism.DEFAULT_DURATION,
- Curve curve = Neumorphism.DEFAULT_CURVE,
- NeumorphismStyle? style,
- TextStyle? textStyle,
- EdgeInsets margin = const EdgeInsets.all(0),
- EdgeInsets padding = const EdgeInsets.all(0),
- bool drawSurfaceAboveChild = true,
Implementation
const Neumorphism({
super.key,
this.child,
this.duration = Neumorphism.DEFAULT_DURATION,
this.curve = Neumorphism.DEFAULT_CURVE,
this.style,
this.textStyle,
this.margin = const EdgeInsets.all(0),
this.padding = const EdgeInsets.all(0),
this.drawSurfaceAboveChild = true,
});