Emergent constructor

const Emergent({
  1. Key? key,
  2. Widget? child,
  3. Duration duration = Emergent.defaultDuration,
  4. Curve curve = Emergent.defaultCurve,
  5. EmergentStyle? style,
  6. TextStyle? textStyle,
  7. EdgeInsets margin = const EdgeInsets.all(0),
  8. EdgeInsets padding = const EdgeInsets.all(0),
  9. 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);