ToastElement constructor

const ToastElement({
  1. Key? key,
  2. required Toast element,
})

Implementation

const ToastElement({Key? key, required this.element}) : super(key: key);