ToastWidget constructor

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

Implementation

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