Clickable class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- Clickable
- Available extensions
Constructors
-
Clickable({Key? key, required Widget child, WidgetStatesController? statesController, bool enabled = true, WidgetStateProperty<
Decoration?> ? decoration, WidgetStateProperty<MouseCursor?> ? mouseCursor, WidgetStateProperty<EdgeInsetsGeometry?> ? padding, WidgetStateProperty<TextStyle?> ? textStyle, WidgetStateProperty<IconThemeData?> ? iconTheme, VoidCallback? onPressed, FocusNode? focusNode, HitTestBehavior behavior = HitTestBehavior.translucent, ValueChanged<bool> ? onHover, ValueChanged<bool> ? onFocus, bool disableTransition = false, bool disableHoverEffect = false, WidgetStateProperty<EdgeInsetsGeometry?> ? margin, VoidCallback? onDoubleTap, Map<LogicalKeySet, Intent> ? shortcuts, Map<Type, Action< ? actions, bool focusOutline = true, bool enableFeedback = true, WidgetStateProperty<Intent> >Matrix4?> ? transform, VoidCallback? onLongPress, GestureTapDownCallback? onTapDown, GestureTapUpCallback? onTapUp, GestureTapCancelCallback? onTapCancel, GestureTapDownCallback? onSecondaryTapDown, GestureTapUpCallback? onSecondaryTapUp, GestureTapCancelCallback? onSecondaryTapCancel, GestureTapDownCallback? onTertiaryTapDown, GestureTapUpCallback? onTertiaryTapUp, GestureTapCancelCallback? onTertiaryTapCancel, GestureLongPressStartCallback? onLongPressStart, GestureLongPressUpCallback? onLongPressUp, GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate, GestureLongPressEndCallback? onLongPressEnd, GestureLongPressUpCallback? onSecondaryLongPress, GestureLongPressUpCallback? onTertiaryLongPress, bool? isSemanticButton = true, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
Properties
-
actions
→ Map<
Type, Action< ?Intent> > -
final
- behavior → HitTestBehavior
-
final
- child → Widget
-
final
-
decoration
→ WidgetStateProperty<
Decoration?> ? -
final
- disableFocusOutline → bool
-
final
- disableHoverEffect → bool
-
final
- disableTransition → bool
-
final
- enabled → bool
-
final
- enableFeedback → bool
-
final
- focusNode → FocusNode?
-
final
- focusOutline → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iconTheme
→ WidgetStateProperty<
IconThemeData?> ? -
final
- isSemanticButton → bool?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
margin
→ WidgetStateProperty<
EdgeInsetsGeometry?> ? -
final
- marginAlignment → AlignmentGeometry?
-
final
-
mouseCursor
→ WidgetStateProperty<
MouseCursor?> ? -
final
- onDoubleTap → VoidCallback?
-
final
-
onFocus
→ ValueChanged<
bool> ? -
final
-
onHover
→ ValueChanged<
bool> ? -
final
- onLongPress → VoidCallback?
-
final
- onLongPressEnd → GestureLongPressEndCallback?
-
final
- onLongPressMoveUpdate → GestureLongPressMoveUpdateCallback?
-
final
- onLongPressStart → GestureLongPressStartCallback?
-
final
- onLongPressUp → GestureLongPressUpCallback?
-
final
- onPressed → VoidCallback?
-
final
- onSecondaryLongPress → GestureLongPressUpCallback?
-
final
- onSecondaryTapCancel → GestureTapCancelCallback?
-
final
- onSecondaryTapDown → GestureTapDownCallback?
-
final
- onSecondaryTapUp → GestureTapUpCallback?
-
final
- onTapCancel → GestureTapCancelCallback?
-
final
- onTapDown → GestureTapDownCallback?
-
final
- onTapUp → GestureTapUpCallback?
-
final
- onTertiaryLongPress → GestureLongPressUpCallback?
-
final
- onTertiaryTapCancel → GestureTapCancelCallback?
-
final
- onTertiaryTapDown → GestureTapDownCallback?
-
final
- onTertiaryTapUp → GestureTapUpCallback?
-
final
-
padding
→ WidgetStateProperty<
EdgeInsetsGeometry?> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortcuts
→ Map<
LogicalKeySet, Intent> ? -
final
- statesController → WidgetStatesController?
-
final
-
textStyle
→ WidgetStateProperty<
TextStyle?> ? -
final
-
transform
→ WidgetStateProperty<
Matrix4?> ? -
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< Clickable> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited