Emergent constructor
const
Emergent({
- Key? key,
- Widget? child,
- Duration duration = Emergent.defaultDuration,
- Curve curve = Emergent.defaultCurve,
- EmergentStyle? style,
- TextStyle? textStyle,
- EdgeInsets margin = const EdgeInsets.all(0),
- EdgeInsets padding = const EdgeInsets.all(0),
- bool drawSurfaceAboveChild = true,
Implementation
const Emergent({
Key? key,
this.child,
this.duration = Emergent.defaultDuration,
this.curve = Emergent.defaultCurve,
this.style,
this.textStyle,
this.margin = const EdgeInsets.all(0),
this.padding = const EdgeInsets.all(0),
this.drawSurfaceAboveChild = true,
}) : super(key: key);