icon static method

PlaybookFinder icon(
  1. IconData icon, {
  2. String? label,
})

An Icon showing icon.

Give it a label to name it in captions and reports: Find.icon(Icons.shopping_bag_outlined, label: 'bag') reads Tap the bag icon instead of Tap icon f37d.

Implementation

static PlaybookFinder icon(IconData icon, {String? label}) =>
    _IconFinder(icon, label: label);