OverlayWidget constructor

const OverlayWidget({
  1. Key? key,
  2. required Widget content,
  3. required GlobalKey<State<StatefulWidget>> sizeKey,
  4. Color? color,
  5. BorderRadius? radius,
  6. bool useMaterial = true,
  7. bool removeAll = true,
  8. NopOverlayPosition position = NopOverlayPosition.none,
  9. EdgeInsets? margin,
})

Implementation

const OverlayWidget({
  Key? key,
  required this.content,
  required this.sizeKey,
  this.color,
  this.radius,
  this.useMaterial = true,
  this.removeAll = true,
  this.position = NopOverlayPosition.none,
  this.margin,
}) : super(key: key);