CustomButton class
CustomButton
- Defines options for each button within the CustomButtons
widget.
Constructors
- CustomButton({required VoidCallback action, bool show = true, Color? backgroundColor, bool disabled = false, IconData? icon, String? text, TextStyle? textStyle, Widget? customComponent, TextStyle? iconStyle})
Properties
- action → VoidCallback
-
final
- backgroundColor → Color?
-
final
- customComponent → Widget?
-
final
- disabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
final
- iconStyle → TextStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- show → bool
-
final
- text → String?
-
final
- textStyle → TextStyle?
-
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