DebugOverlay constructor

const DebugOverlay({
  1. Key? key,
  2. required Widget child,
  3. bool enabled = kDebugMode,
  4. Color? backgroundColor,
  5. Color? foregroundColor,
  6. IconData icon = Icons.bug_report_rounded,
  7. double buttonSize = 56,
  8. bool showBadge = true,
  9. Alignment initialAlignment = Alignment.centerLeft,
  10. bool snapToEdge = true,
  11. double edgeMargin = 12,
})

Implementation

const DebugOverlay({
  super.key,
  required this.child,
  this.enabled = kDebugMode,
  this.backgroundColor,
  this.foregroundColor,
  this.icon = Icons.bug_report_rounded,
  this.buttonSize = 56,
  this.showBadge = true,
  this.initialAlignment = Alignment.centerLeft,
  this.snapToEdge = true,
  this.edgeMargin = 12,
});