OpsShell constructor

const OpsShell({
  1. Key? key,
  2. required Widget child,
  3. double? height,
  4. double? width,
  5. double radius = 30,
  6. double elevation = 20,
  7. AlignmentGeometry? alignment,
  8. Decoration? backgroundDecoration,
  9. Decoration? decoration,
  10. Color? color,
  11. Duration animationDuration = kThemeChangeDuration,
  12. bool borderOnForeground = true,
  13. Clip clipBehavior = Clip.none,
  14. Color? shadowColor,
  15. ShapeBorder? shape,
  16. Color? surfaceTintColor,
  17. TextStyle? textStyle,
  18. MaterialType type = MaterialType.canvas,
})

The kind of material to show (e.g., card or canvas). This affects the shape of the widget, the roundness of its corners if the shape is rectangular, and the default color.

Implementation

const OpsShell({
  Key? key,
  required this.child,
  this.height,
  this.width,
  this.radius = 30,
  this.elevation = 20,
  this.alignment,
  this.backgroundDecoration,
  this.decoration,
  this.color,
  this.animationDuration = kThemeChangeDuration,
  this.borderOnForeground = true,
  this.clipBehavior = Clip.none,
  this.shadowColor,
  this.shape,
  this.surfaceTintColor,
  this.textStyle,
  this.type = MaterialType.canvas,
}) : super(key: key);