BackgroundOverlay constructor

const BackgroundOverlay({
  1. Key? key,
  2. VoidCallback? onTap,
  3. required ShapeBorder shape,
  4. required Animation<double> animation,
  5. required GlobalKey<State<StatefulWidget>> dialKey,
  6. required LayerLink layerLink,
  7. Color color = Colors.white,
  8. double opacity = 0.7,
})

Implementation

const BackgroundOverlay({
  Key? key,
  this.onTap,
  required this.shape,
  required Animation<double> animation,
  required this.dialKey,
  required this.layerLink,
  this.color = Colors.white,
  this.opacity = 0.7,
}) : super(key: key, listenable: animation);