ToastWidget constructor

ToastWidget({
  1. Key? key,
  2. required Widget widget,
  3. required int? gravity,
})

Implementation

ToastWidget({
  Key? key,
  required this.widget,
  required this.gravity,
}) : super(key: key);