icon property

Widget icon
final

The widget displayed inside the floating action button.

This can be any widget, such as an Icon, Text, or custom widget.

Implementation

final Widget icon;