icon property
Icon widget to display before the label (or alone, if label is null).
Standard Icon widgets automatically pick up the correct color and size from the parent IconTheme. Typically a CupertinoIcons icon.
Implementation
final Widget? icon;
Icon widget to display before the label (or alone, if label is null).
Standard Icon widgets automatically pick up the correct color and size from the parent IconTheme. Typically a CupertinoIcons icon.
final Widget? icon;