icon method

StyledIcon icon(
  1. IconData icon, {
  2. bool inherit = false,
  3. Key? key,
  4. Style? style,
})

Implementation

StyledIcon icon(
  IconData icon, {
  bool inherit = false,
  Key? key,
  Style? style,
}) {
  return StyledIcon(icon, style: merge(style), key: key, inherit: inherit);
}