ToastMessage({ required this.type, required this.text, this.duration = const Duration(seconds: 2), });