icon property

IconData icon
getter/setter pair

The toast icon, for types other than custom the icon will get the default type icon

if motionToastType set to MOTION_TOAST_TYPE.custom the icon parameter is required

Implementation

late IconData icon;