ActerDangerActionButton class

ActionButton for dangerous actions

This is an ElevatedButton using the error-colors from the contextual theme to create a button that indicates a dangerous action. All input is as for ElevatedButton.

Constructors

ActerDangerActionButton({dynamic key, required dynamic onPressed, required dynamic child, dynamic onLongPress, dynamic onHover, dynamic onFocusChange, dynamic style, dynamic focusNode, dynamic autofocus = false, dynamic clipBehavior = Clip.none, dynamic statesController})
const
ActerDangerActionButton.icon({dynamic key, required dynamic onPressed, dynamic onLongPress, dynamic style, dynamic focusNode, bool? autofocus, dynamic clipBehavior, dynamic statesController, required dynamic icon, required dynamic label})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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