IosStyleToast constructor

const IosStyleToast({
  1. Key? key,
  2. TextStyle? style,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  4. Color? backgroundColor = Colors.black87,
  5. Color? foregroundColor = Colors.white,
  6. String message = "Succeed",
  7. Widget? child,
  8. Widget? body,
})

Implementation

const IosStyleToast({
  Key? key,
  this.style,
  this.padding = const EdgeInsets.all(16),
  this.backgroundColor = Colors.black87,
  this.foregroundColor = Colors.white,
  this.message = "Succeed",
  this.child,
  this.body,
}) : super(key: key);