PopupMessage constructor
const
PopupMessage({
- Key? key,
- required Widget child,
- required Widget content,
- EdgeInsets padding = const EdgeInsets.all(10),
- EdgeInsets margin = const EdgeInsets.all(5),
- Color bgColor = Colors.white,
- Size size = const Size(7, 7),
- double maxWidth = 200,
- double radius = 4,
- Color barrierColor = const Color(0x05000000),
- FutureOr<
bool> onPreShow()?,
Implementation
const PopupMessage({
super.key,
required this.child,
required this.content,
this.padding = const EdgeInsets.all(10),
this.margin = const EdgeInsets.all(5),
this.bgColor = Colors.white,
this.size = const Size(7, 7),
this.maxWidth = 200,
this.radius = 4,
this.barrierColor = const Color(0x05000000),
this.onPreShow,
});