WidgetExtensions extension

Collection of extensions on Material Widget.

on

Methods

align({Key? key, AlignmentGeometry alignment = Alignment.center, double? widthFactor, double? heightFactor}) Align

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Align.
card({Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground = true, EdgeInsetsGeometry? margin, Clip? clipBehavior, bool semanticContainer = true}) Card

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Card.
center({Key? key, double? widthFactor, double? heightFactor}) Center

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Center.
clipOval({Key? key, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.antiAlias}) ClipOval

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in ClipOval.
clipPath({Key? key, CustomClipper<Path>? clipper, Clip clipBehavior = Clip.antiAlias}) ClipPath

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in ClipPath.
clipRect({Key? key, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.hardEdge}) ClipRect

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in ClipRect.
clipRRect({Key? key, BorderRadiusGeometry borderRadius = BorderRadius.zero, CustomClipper<RRect>? clipper, Clip clipBehavior = Clip.antiAlias}) ClipRRect

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in ClipRRect.
container({Key? key, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none}) Container

Available on Widget, provided by the WidgetExtensions extension

Wraps a widget in Container.
expanded({Key? key, int flex = 1}) Expanded

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Expanded.
inkWell({Key? key, void onTap()?, void onDoubleTap()?, void onLongPress()?, void onTapDown(TapDownDetails)?, void onTapUp(TapUpDetails)?, void onTapCancel()?, void onSecondaryTap()?, void onSecondaryTapUp(TapUpDetails)?, void onSecondaryTapDown(TapDownDetails)?, void onSecondaryTapCancel()?, void onHighlightChanged(bool)?, void onHover(bool)?, MouseCursor? mouseCursor, Color? focusColor, Color? hoverColor, Color? highlightColor, WidgetStateProperty<Color?>? overlayColor, Color? splashColor, InteractiveInkFeatureFactory? splashFactory, double? radius, BorderRadius? borderRadius, ShapeBorder? customBorder, bool enableFeedback = true, bool excludeFromSemantics = false, FocusNode? focusNode, bool canRequestFocus = true, void onFocusChange(bool)?, bool autofocus = false, WidgetStatesController? statesController}) InkWell

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in InkWell.
padding({Key? key, required EdgeInsetsGeometry padding}) Padding

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Padding.
positioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height}) Positioned

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in Positioned.
safeArea({Key? key, bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) SafeArea

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in SafeArea.
singleChildScrollView({Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, EdgeInsetsGeometry? padding, bool? primary, ScrollPhysics? physics, ScrollController? controller, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, String? restorationId, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual}) SingleChildScrollView

Available on Widget, provided by the WidgetExtensions extension

Wrap a widget in SingleChildScrollView.
sizedBox({Key? key, double? width, double? height}) SizedBox

Available on Widget, provided by the WidgetExtensions extension

Wraps a widget in SizedBox.