ProjectHeroAction class

Data model representing an availability action button in HeroProjectsBlock.

Constructors

ProjectHeroAction({required String label, required IconData icon, VoidCallback? onTap, ButtonType type = ButtonType.gray})
Creates a ProjectHeroAction.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
Action icon (used for Mobile ButtonIcon).
final
label → String
Action button label (used for PC ButtonText).
final
onTap → VoidCallback?
Tap callback.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ButtonType
Button theme type (primary or gray).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited