FlameDialog constructor

FlameDialog({
  1. required FlameWidget? child,
  2. Color background = Colors.black54,
  3. Color dialogBackground = Colors.white,
  4. bool closeOnPressOutside = true,
  5. EdgeInsets padding = const EdgeInsets.all(8),
  6. double width = 256,
  7. double height = 160,
})

Implementation

FlameDialog({
  required this.child,
  this.background = Colors.black54,
  this.dialogBackground = Colors.white,
  this.closeOnPressOutside = true,
  this.padding = const EdgeInsets.all(8),
  this.width = 256,
  this.height = 160,
});