FlyIcon constructor

FlyIcon(
  1. dynamic icon, {
  2. Key? key,
  3. double? iconSize,
  4. Color? iconColor,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
  7. FlyStyle flyStyle = const FlyStyle(),
})

Implementation

FlyIcon(
  this.icon, {
  super.key,
  this.iconSize, // Direct IconData size
  this.iconColor, // Direct Color override
  this.semanticLabel, // Direct semantic label
  this.textDirection, // Direct text direction
  FlyStyle flyStyle = const FlyStyle(),
}) : _flyStyle = flyStyle;