MotionToastBackground constructor

const MotionToastBackground({
  1. Key? key,
  2. required double borderRadius,
  3. required Color backgroundColor,
  4. required Widget child,
  5. required Color borderColor,
  6. required bool displayBorder,
  7. required Brightness brightness,
  8. required double opacity,
})

Implementation

const MotionToastBackground({
  Key? key,
  required this.borderRadius,
  required this.backgroundColor,
  required this.child,
  required this.borderColor,
  required this.displayBorder,
  required this.brightness,
  required this.opacity,
}) : super(key: key);