MaterialInkWell class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- MaterialInkWell
Constructors
-
MaterialInkWell({Key? key, MaterialType type = MaterialType.canvas, double elevation = 0.0, bool borderOnForeground = true, Clip clipBehavior = Clip.none, Duration durationAnimation = kThemeChangeDuration, bool excludeFromSemantics = false, bool canRequestFocus = true, bool autofocus = false, Color? colorBackground, Color? colorShadow, Color? colorSurfaceTint, TextStyle? styleText, BorderRadius? radiusBorder, ShapeBorder? shape, VoidCallback? onTap, GestureTapCallback? onDoubleTap, GestureLongPressCallback? onLongPress, GestureTapDownCallback? onTapDown, GestureTapUpCallback? onTapUp, GestureTapCancelCallback? onTapCancel, GestureTapCallback? onSecondaryTap, GestureTapUpCallback? onSecondaryTapUp, GestureTapDownCallback? onSecondaryTapDown, GestureTapCancelCallback? onSecondaryTapCancel, ValueChanged<
bool> ? onHighlightChanged, ValueChanged<bool> ? onHover, MouseCursor? mouseCursor, Color? colorFocus, Color? colorHover, Color? colorHighlight, MaterialStateProperty<Color?> ? colorOverlay, Color? colorSplash, InteractiveInkFeatureFactory? splashFactory, double? radius, BorderRadius? borderRadius, ShapeBorder? customBorder, bool? enableFeedback, FocusNode? focusNode, ValueChanged<bool> ? onFocusChange, MaterialStatesController? statesController, Widget? child}) -
const
Properties
- autofocus → bool
-
final
- borderOnForeground → bool
-
final
- borderRadius → BorderRadius?
-
final
- canRequestFocus → bool
-
final
- child → Widget?
-
final
- clipBehavior → Clip
-
final
- colorBackground → Color?
-
final
- colorFocus → Color?
-
final
- colorHighlight → Color?
-
final
- colorHover → Color?
-
final
-
colorOverlay
→ MaterialStateProperty<
Color?> ? -
final
- colorShadow → Color?
-
final
- colorSplash → Color?
-
final
- colorSurfaceTint → Color?
-
final
- customBorder → ShapeBorder?
-
final
- durationAnimation → Duration
-
final
- elevation → double
-
final
- enableFeedback → bool?
-
final
- excludeFromSemantics → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mouseCursor → MouseCursor?
-
final
- onDoubleTap → GestureTapCallback?
-
final
-
onFocusChange
→ ValueChanged<
bool> ? -
final
-
onHighlightChanged
→ ValueChanged<
bool> ? -
final
-
onHover
→ ValueChanged<
bool> ? -
final
- onLongPress → GestureLongPressCallback?
-
final
- onSecondaryTap → GestureTapCallback?
-
final
- onSecondaryTapCancel → GestureTapCancelCallback?
-
final
- onSecondaryTapDown → GestureTapDownCallback?
-
final
- onSecondaryTapUp → GestureTapUpCallback?
-
final
- onTap → VoidCallback?
-
final
- onTapCancel → GestureTapCancelCallback?
-
final
- onTapDown → GestureTapDownCallback?
-
final
- onTapUp → GestureTapUpCallback?
-
final
- radius → double?
-
final
- radiusBorder → BorderRadius?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
final
- splashFactory → InteractiveInkFeatureFactory?
-
final
- statesController → MaterialStatesController?
-
final
- styleText → TextStyle?
-
final
- type → MaterialType
-
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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, int wrapWidth = 65}) → 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