IconButtonProps class
see IconButton props for more details
- Implementers
Constructors
- IconButtonProps({required Widget icon, bool isVisible = false, double iconSize = 24.0, VisualDensity? visualDensity, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0), AlignmentGeometry alignment = Alignment.center, double? splashRadius, Color? color, Color? focusColor, Color? hoverColor, Color? highlightColor, Color? splashColor, Color? disabledColor, MouseCursor mouseCursor = SystemMouseCursors.click, FocusNode? focusNode, bool autofocus = false, String? tooltip, bool enableFeedback = false, BoxConstraints? constraints, dynamic onPressed()?, ButtonStyle? style, bool? isSelected, Widget? selectedIcon})
-
const
Properties
- alignment → AlignmentGeometry
-
final
- autofocus → bool
-
final
- color → Color?
-
final
- constraints → BoxConstraints?
-
final
- disabledColor → Color?
-
final
- enableFeedback → bool
-
final
- focusColor → Color?
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor → Color?
-
final
- hoverColor → Color?
-
final
- icon → Widget
-
final
- iconSize → double
-
final
- isSelected → bool?
-
final
- isVisible → bool
-
final
- mouseCursor → MouseCursor
-
final
- onPressed → dynamic Function()?
-
final
- padding → EdgeInsetsGeometry
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → Widget?
-
final
- splashColor → Color?
-
final
- splashRadius → double?
-
final
- style → ButtonStyle?
-
final
- tooltip → String?
-
final
- visualDensity → VisualDensity?
-
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