FlameDialog constructor
FlameDialog({
- required FlameWidget? child,
- Color background = Colors.black54,
- Color dialogBackground = Colors.white,
- bool closeOnPressOutside = true,
- EdgeInsets padding = const EdgeInsets.all(8),
- double width = 256,
- 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,
});