FXToast constructor
const
FXToast({
- Key? key,
- required String msg,
- Color backgroundColor = Colors.black87,
- double borderRadius = 10.0,
- EdgeInsetsGeometry toastPadding = const EdgeInsets.all(margin),
- EdgeInsetsGeometry toastMargin = EdgeInsets.zero,
Implementation
const FXToast({
Key? key,
required this.msg,
this.backgroundColor = Colors.black87,
this.borderRadius = 10.0,
this.toastPadding = const EdgeInsets.all(margin),
this.toastMargin = EdgeInsets.zero,
}) : super(key: key);