MotionToastContent constructor

MotionToastContent({
  1. Key? key,
  2. required Color color,
  3. required String description,
  4. required TextStyle descriptionTextStyle,
  5. required IconData icon,
  6. required double iconSize,
  7. required double radius,
  8. required String title,
  9. required TextStyle titleTextStyle,
  10. required double width,
  11. required bool withAnimation,
})

Implementation

MotionToastContent({
  Key? key,
  required this.color,
  required this.description,
  required this.descriptionTextStyle,
  required this.icon,
  required this.iconSize,
  required this.radius,
  required this.title,
  required this.titleTextStyle,
  required this.width,
  required this.withAnimation,
}) : super(key: key) {
  contentLayoutType = CONTENT_LAYOUT_TYPE.normal;
}