icon property

String? icon
final

If icon is set, must be a path to an image from project root as follows: assets/images/image.png. Or it must be an instance of ByteString.

Implementation

final String? icon;