SimplifeIcon constructor

const SimplifeIcon(
  1. IconData icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
})

Creates a Simplife icon.

The icon parameter is required.

Implementation

const SimplifeIcon(
    this.icon, {
      super.key,
      this.size,
      this.color,
      this.semanticLabel,
      this.textDirection,
    });