Button class
- Inheritance
- Available extensions
Constructors
-
Button({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, required AbstractButtonStyle style, bool? enabled, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.card({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.card, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.destructive({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.destructive, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.fixed({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.fixed, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.ghost({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.ghost, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.link({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.link, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.outline({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.outline, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.primary({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.primary, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.secondary({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.secondary, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
-
Button.text({Key? key, WidgetStatesController? statesController, Widget? leading, Widget? trailing, required Widget child, VoidCallback? onPressed, FocusNode? focusNode, AlignmentGeometry? alignment, bool? enabled, AbstractButtonStyle style = ButtonVariance.text, bool disableTransition = false, ValueChanged<
bool> ? onFocus, ValueChanged<bool> ? onHover, bool disableHoverEffect = false, bool? enableFeedback, 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, AlignmentGeometry? marginAlignment, bool disableFocusOutline = false}) -
const
Properties
- alignment β AlignmentGeometry?
-
final
- asBuilder β NeverWidgetBuilder
-
Available on Widget, provided by the WidgetExtension extension
no setter - asSliver β Widget
-
Available on Widget, provided by the XWidgetArcane extension
no setter - base β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - black β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - blockQuote β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - blurIn β Widget
-
Available on Widget, provided by the XWidgetEffect extension
no setter - bold β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - centered β Widget
-
Available on Widget, provided by the XWidget extension
no setter - child β Widget
-
final
- disableFocusOutline β bool
-
final
- disableHoverEffect β bool
-
final
- disableTransition β bool
-
final
- ellipsis β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - enabled β bool?
-
final
- enableFeedback β bool?
-
final
- expand β Widget
-
Available on Widget, provided by the XWidget extension
no setter - extraBold β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - extraLight β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - firstP β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - flexible β Widget
-
Available on Widget, provided by the XWidget extension
no setter - focusNode β FocusNode?
-
final
- foreground β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - h1 β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - h2 β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - h3 β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - h4 β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - hashCode β int
-
The hash code for this object.
no setterinherited
- ih β Widget
-
Available on Widget, provided by the XWidgetArcane extension
no setter - inlineCode β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - intrinsicHeight β Widget
-
Available on Widget, provided by the XWidget extension
no setter - intrinsicSize β Widget
-
Available on Widget, provided by the XWidget extension
no setter - intrinsicWidth β Widget
-
Available on Widget, provided by the XWidget extension
no setter - italic β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - iw β Widget
-
Available on Widget, provided by the XWidgetArcane extension
no setter - key β Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - lead β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - leading β Widget?
-
final
- li β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - light β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - marginAlignment β AlignmentGeometry?
-
final
- medium β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - modify β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - mono β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - muted β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - normal β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter -
onFocus
β ValueChanged<
bool> ? -
final
-
onHover
β ValueChanged<
bool> ? -
final
- onLongPressEnd β GestureLongPressEndCallback?
-
final
- onLongPressMoveUpdate β GestureLongPressMoveUpdateCallback?
-
final
- onLongPressStart β GestureLongPressStartCallback?
-
final
- onLongPressUp β GestureLongPressUpCallback?
-
final
- onPressed β GestureLongPressUpCallback?
-
final
- onSecondaryLongPress β GestureLongPressUpCallback?
-
final
- onSecondaryTapCancel β GestureLongPressUpCallback?
-
final
- onSecondaryTapDown β GestureTapDownCallback?
-
final
- onSecondaryTapUp β GestureTapUpCallback?
-
final
- onTapCancel β GestureLongPressUpCallback?
-
final
- onTapDown β GestureTapDownCallback?
-
final
- onTapUp β GestureTapUpCallback?
-
final
- onTertiaryLongPress β GestureLongPressUpCallback?
-
final
- onTertiaryTapCancel β GestureLongPressUpCallback?
-
final
- onTertiaryTapDown β GestureTapDownCallback?
-
final
- onTertiaryTapUp β GestureTapUpCallback?
-
final
- p β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - primaryForeground β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - runtimeType β Type
-
A representation of the runtime type of the object.
no setterinherited
- safeArea β Widget
-
Available on Widget, provided by the XWidget extension
no setter - sans β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - scrollable β Widget
-
Available on Widget, provided by the XWidget extension
no setter - scrollableHorizontal β Widget
-
Available on Widget, provided by the XWidget extension
no setter - secondaryForeground β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - semiBold β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - singleLine β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - small β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - statesController β WidgetStatesController?
-
final
- style β AbstractButtonStyle
-
final
- textCenter β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textEnd β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textJustify β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textLarge β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textLeft β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textMuted β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textRight β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textSmall β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - textStart β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - thin β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - trailing β Widget?
-
final
- underline β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x2Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x3Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x4Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x5Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x6Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x7Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x8Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - x9Large β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - xLarge β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter - xSmall β TextModifier
-
Available on Widget, provided by the TextExtension extension
no setter
Methods
-
animate(
{Key? key, List< Effect> ? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) β Animate -
Available on Widget, provided by the AnimateWidgetExtensions extension
Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex.myWidget.animate()is equivalent toAnimate(child: myWidget). -
asSkeleton(
{bool enabled = true, bool leaf = false, Widget? replacement, bool unite = false, AsyncSnapshot? snapshot}) β Widget -
Available on Widget, provided by the SkeletonExtension extension
-
asSkeletonSliver(
{bool enabled = true}) β Widget -
Available on Widget, provided by the SkeletonExtension extension
-
ast(
int ml) β Widget -
center(
{Key? key}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
clip(
{Clip clipBehavior = Clip.hardEdge}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
clipOval(
{Clip clipBehavior = Clip.antiAlias}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
clipPath(
{Clip clipBehavior = Clip.antiAlias, required CustomClipper< Path> clipper}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
clipRRect(
{BorderRadiusGeometry borderRadius = BorderRadius.zero, Clip clipBehavior = Clip.antiAlias}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
constrained(
{double? minWidth, double? maxWidth, double? minHeight, double? maxHeight, double? width, double? height}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
createElement(
) β StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) β ButtonState< Button> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugContainer(
[Color color = Colors.red]) β Widget -
Available on Widget, provided by the DebugContainer extension
-
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
-
excludeSkeleton(
{bool exclude = true}) β Widget -
Available on Widget, provided by the SkeletonExtension extension
-
expanded(
{int flex = 1}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
iconDestructiveForeground(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconLarge(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconMedium(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconMutedForeground(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconPrimary(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconPrimaryForeground(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconSecondary(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconSecondaryForeground(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconSmall(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX2Large(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX2Small(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX3Large(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX3Small(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX4Large(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconX4Small(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconXLarge(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
iconXSmall(
) β Widget -
Available on Widget, provided by the IconExtension extension
-
ignoreSkeleton(
) β Widget -
Available on Widget, provided by the SkeletonExtension extension
-
intrinsic(
{double? stepWidth, double? stepHeight}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
intrinsicHeight(
) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
intrinsicWidth(
{double? stepWidth, double? stepHeight}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
isSliver(
BuildContext context) β bool -
Available on Widget, provided by the XSliverWidget extension
-
noSuchMethod(
Invocation invocation) β dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDoublePressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for double press/tap gestures. -
onHover(
void action(bool hovering)) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for hover events. -
onLongPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for long press gestures with the primary button. -
onLongSecondaryPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for long press gestures with the secondary button. -
onLongTertiaryPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for long press gestures with the tertiary button. -
onPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for primary press/tap gestures (equivalent to onTap). -
onSecondaryPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for secondary press gestures (equivalent to right-click). -
onTertiaryPressed(
VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) β Widget -
Available on Widget, provided by the XOnGestureWidget extension
Adds a handler for tertiary press gestures (equivalent to middle-click). -
pad(
double all) β Widget -
padBottom(
double value) β Widget -
padBy(
{double? left, double? top, double? right, double? bottom, double? horizontal, double? vertical}) β Widget -
Available on Widget, provided by the XWidgetArcane extension
-
padLeft(
double value) β Widget -
padOnly(
{double left = 0, double top = 0, double right = 0, double bottom = 0}) β Widget -
padRight(
double value) β Widget -
padSliverBy(
{double? left, double? top, double? right, double? bottom, double? horizontal, double? vertical}) β Widget -
Available on Widget, provided by the XWidgetArcane extension
-
padTop(
double value) β Widget -
positioned(
{Key? key, double? left, double? top, double? right, double? bottom}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
shadeEdge(
double radius) β Widget -
Available on Widget, provided by the XWidgetEdge extension
-
shadeFrost(
double value) β Widget -
Available on Widget, provided by the XWidgetFrost extension
-
shadeInvert(
) β Widget -
Available on Widget, provided by the XWidgetInvert extension
-
shadePixelate(
double radius) β Widget -
Available on Widget, provided by the XWidgetPixelate extension
-
shadePixelateBlur(
{int samples = 4, double pixelSize = 8, double radius = 2}) β Widget -
Available on Widget, provided by the XWidgetPixelateBlur extension
-
shadeRGB(
{double radius = 5, double spin = 1}) β Widget -
Available on Widget, provided by the XWidgetRGB extension
-
shadeWarp(
{double amplitude = 1, double frequency = 1, double z = 1, int octaves = 2}) β Widget -
Available on Widget, provided by the XWidgetWarp extension
-
shadeWarpAnimation(
{double amplitude = 1, double frequency = 1, double z = 1, double zSpeed = 1, int octaves = 2}) β Widget -
Available on Widget, provided by the XWidgetWarp extension
-
shimmer(
{bool loading = true}) β Widget -
Available on Widget, provided by the XWidgetArcane extension
-
sized(
{double? width, double? height}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
sized(
{double? width, double? height}) β Widget -
then(
InlineSpan span) β Widget -
Available on Widget, provided by the TextExtension extension
-
thenButton(
{required VoidCallback onPressed, required Widget child}) β Widget -
Available on Widget, provided by the TextExtension extension
-
thenInlineCode(
String text) β Widget -
Available on Widget, provided by the TextExtension extension
-
thenText(
String text) β Widget -
Available on Widget, provided by the TextExtension extension
-
toBox(
BuildContext context, {bool softWarn = true}) β Widget -
Available on Widget, provided by the XSliverWidget extension
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) β DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toSliver(
BuildContext context, {bool fillRemaining = false, bool softWarn = true}) β Widget -
Available on Widget, provided by the XSliverWidget extension
-
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
-
transform(
{Key? key, required Matrix4 transform}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
withAlign(
AlignmentGeometry alignment) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
withMargin(
{double? top, double? bottom, double? left, double? right, double? horizontal, double? vertical, double? all}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
withOpacity(
double opacity) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
withPadding(
{double? top, double? bottom, double? left, double? right, double? horizontal, double? vertical, double? all, EdgeInsetsGeometry? padding}) β Widget -
Available on Widget, provided by the WidgetExtension extension
-
withTooltip(
String tooltip) β Widget -
Available on Widget, provided by the XWidgetArcane extension
Operators
-
operator ==(
Object other) β bool -
The equality operator.
inherited