icon property

Widget? icon
final

any widget can be used as marker icon (e.g: Icon, custom widgets).

Implementation

final Widget? icon;