ToastChild constructor

const ToastChild({
  1. Key? key,
  2. required String msg,
  3. required double verticalOffset,
  4. Color? background,
  5. double? radius,
  6. Image? leading,
  7. BrnToastGravity? gravity,
  8. TextStyle? textStyle,
})

Implementation

const ToastChild({
  super.key,
  required this.msg,
  required this.verticalOffset,
  this.background,
  this.radius,
  this.leading,
  this.gravity,
  this.textStyle,
});