iconPrimary property
WrappedIcon
get
iconPrimary
Wraps the icon with primary color.
Applies the theme's primary accent color to the icon.
Implementation
WrappedIcon get iconPrimary {
return WrappedIcon(
data: (context, theme) => IconThemeData(color: theme.colorScheme.primary),
child: this,
);
}