FXToast constructor

const FXToast({
  1. Key? key,
  2. required String msg,
  3. Color backgroundColor = Colors.black87,
  4. double borderRadius = 10.0,
  5. EdgeInsetsGeometry toastPadding = const EdgeInsets.all(margin),
  6. 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);