icon property

Widget? icon
getter/setter pair

The toast icon, required only if using the default constructor for other toast types (Success, Info, error) the icon is not changeable

Implementation

late Widget? icon;