icon property

Widget? icon
final

The icon to display inside the button.

{@tool snippet}

The Icon.color will be ignored by the activeColor and desactiveColor of the ScrollNavigation.

{@tool snippet}

This property must not be null. See Icon, ImageIcon.

Implementation

final Widget? icon;