heroTag property

Object heroTag
final

A tag for the button's Hero widget.

Defaults to a tag that matches a normal FAB

set this to null if you don't want the button to have a hero tag.

If not set to a unique value, then you may only have one single DiamondFab or FloatingActionButton per route or screen. Multiple hero tags will cause a tag conflict.

Implementation

final Object heroTag