FlutterToastPage constructor

const FlutterToastPage(
  1. String text,
  2. ToastGravity gravity,
  3. Duration duration,
  4. Color backgroundColor,
  5. Color textColor,
  6. double textSize, {
  7. Key? key,
})

Implementation

const FlutterToastPage(
  this.text,
  this.gravity,
  this.duration,
  this.backgroundColor,
  this.textColor,
  this.textSize, {
  super.key,
});