iconData property

IconData? iconData
final

The icon to display.

Is used in the CupertinoTextButton.icon constructor that creates a button with icon.

To use CupertinoIcons, don't forget to add the cupertino_icons package to your pubspec.yaml.

Implementation

final IconData? iconData;