IconThemeModifier constructor

const IconThemeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required IconThemeData data,
})

Creates an icon theme that controls the color, opacity, and size of descendant widgets. ˚ Both data and child arguments must not be null.

Implementation

const IconThemeModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.data,
});