ModernCustomButton class
ModernCustomButton - Defines options for each button within ModernCustomButtons.
A modern glassmorphic button definition with gradient backgrounds, icons, text, and optional custom content.
Constructors
- ModernCustomButton.new({required VoidCallback action, bool show = true, Color? backgroundColor, Color? gradientStartColor, Color? gradientEndColor, bool disabled = false, IconData? icon, String? text, TextStyle? textStyle, Widget? customComponent, Color? iconColor, double? iconSize, bool enableGlow = true})
Properties
- action → VoidCallback
-
final
- backgroundColor → Color?
-
final
- customComponent → Widget?
-
final
- disabled → bool
-
final
- enableGlow → bool
-
final
- gradientEndColor → Color?
-
final
- gradientStartColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
final
- iconColor → Color?
-
final
- iconSize → double?
-
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