BsIcon constructor

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

Creates a BsIcon.

Implementation

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