data property

  1. @override
String get data

Path to the Flutter asset that refers to the location of the icon.

For example, if the following asset is declared in the Flutter application's pubspec.yaml file

assets:
  - icons/coworker.png

then the path to the asset would be icons/coworker.png.

Implementation

@override
String get data => _icon;