FxFlex class

Inheritance
Available extensions

Constructors

FxFlex.new({Key? key, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, TextBaseline? textBaseline, List<Widget> children = const <Widget>[]})
Use Block to create a block-level element.

Properties

animatedBox FxAnimatedBox

Available on Widget, provided by the AnimatedContainerWidgetExtension extension

no setter
box FxBox

Available on Widget, provided by the ContainerWidgetExtension extension

no setter
card FxCard

Available on Widget, provided by the CardExtension extension

no setter
children List<Widget>
The widgets below this widget in the tree.
finalinherited
clipBehavior Clip
The content will be clipped (or not) according to this option.
finalinherited
crossAxisAlignment CrossAxisAlignment
How the children should be placed along the cross axis.
finalinherited
direction Axis
The direction to use as the main axis.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mainAxisAlignment MainAxisAlignment
How the children should be placed along the main axis.
finalinherited
mainAxisSize MainAxisSize
How much space should be occupied in the main axis.
finalinherited
pad → _FxPaddingBuilder

Available on Widget, provided by the PaddingExtensions extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
How much space to place between children in the main axis.
finalinherited
textBaseline TextBaseline?
If aligning items according to their baseline, which baseline to use.
finalinherited
textDirection TextDirection?
Determines the order to lay children out horizontally and how to interpret start and end in the horizontal direction.
finalinherited
verticalDirection VerticalDirection
Determines the order to lay children out vertically and how to interpret start and end in the vertical direction.
finalinherited

Methods

alignObject(Alignment alignment, {Key? key, double? heightFactor, double? widthFactor}) Align

Available on Widget, provided by the ObjectExtensions extension

centered({Key? key}) Widget

Available on Widget, provided by the CenterExtension extension

createElement() MultiChildRenderObjectElement
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
inherited
createRenderObject(BuildContext context) RenderFlex
Creates an instance of the RenderObject class that this RenderObjectWidget represents, using the configuration described by this RenderObjectWidget.
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
didUnmountRenderObject(covariant RenderObject renderObject) → void
A render object previously associated with this widget has been removed from the tree. The given RenderObject will be of the same type as returned by this object's createRenderObject.
inherited
doubleTap(Function onTap) → _FxGestureBuilder

Available on Widget, provided by the GestureExtensions extension

fitObject(BoxFit fit, {Key? key}) Widget

Available on Widget, provided by the ObjectExtensions extension

getEffectiveTextDirection(BuildContext context) TextDirection?
The value to pass to RenderFlex.textDirection.
inherited
hFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

hHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

hide({Key? key, bool isVisible = false, bool maintainSize = false}) Widget

Available on Widget, provided by the WidgetsExtension extension

Hide a widget
hPer(BuildContext context, double percent, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

hPix(double height) Widget

Available on Widget, provided by the SizedBoxExtension extension

All available heights
inkDoubleTap(Function onTap) → _FxInkWellBuilder

Available on Widget, provided by the GestureExtensions extension

inkLongTap(Function onTap) → _FxInkWellBuilder

Available on Widget, provided by the GestureExtensions extension

inkTap(Function onTap) → _FxInkWellBuilder

Available on Widget, provided by the GestureExtensions extension

longTap(Function onTap) → _FxGestureBuilder

Available on Widget, provided by the GestureExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
opacity(double value, {Key? key}) Widget

Available on Widget, provided by the OpacityExtension extension

p(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.all with Provided Value
pb(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Bottom Side
perspective({Key? key}) Widget

Available on Widget, provided by the TransformExtension extension

pl(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Left Side
pLTRB(double left, double top, double right, double bottom, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

po({double t = 0.0, double b = 0.0, double l = 0.0, double r = 0.0, Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for right Side
pr(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Right Side
pSy({double x = 0.0, double y = 0.0, Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.symmetric with Provided Value
pt(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Top Side
px(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Top Side
py(double value, {Key? key}) Padding

Available on Widget, provided by the PaddingExtensions extension

Creates EdgeInsets.only with Provided Value for Top Side
rotate(double angle, {Key? key}) Widget

Available on Widget, provided by the TransformExtension extension

scale(double scale, {Key? key}) Widget

Available on Widget, provided by the TransformExtension extension

scrollHorizontal({Key? key, ScrollController? controller, ScrollPhysics? physics, EdgeInsetsGeometry? padding}) Widget

Available on Widget, provided by the ScrollExtension extension

scrollVertical({Key? key, ScrollController? controller, ScrollPhysics? physics, EdgeInsetsGeometry? padding}) Widget

Available on Widget, provided by the ScrollExtension extension

tap(Function onTap) → _FxGestureBuilder

Available on Widget, provided by the GestureExtensions 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
tooltip(String message, {Key? key, Decoration? decoration, double? height, bool? preferBelow, EdgeInsetsGeometry? padding, TextStyle? textStyle, Duration? waitDuration, EdgeInsetsGeometry? margin}) Widget

Available on Widget, provided by the WidgetsExtension extension

Tooltip as accesibility
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
translate({double dx = 0.0, double dy = 0.0, Key? key}) Widget

Available on Widget, provided by the TransformExtension extension

updateRenderObject(BuildContext context, covariant RenderFlex renderObject) → void
Copies the configuration described by this RenderObjectWidget to the given RenderObject, which will be of the same type as returned by this object's createRenderObject.
inherited
wFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

wHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

whFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

whHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

whPer(BuildContext context, {double wPercent = 0, double hPercent = 0, Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

whPix(double width, double height) Widget

Available on Widget, provided by the SizedBoxExtension extension

All Size Width - Height
wPer(BuildContext context, double percent, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

wPix(double width, {Key? key}) Widget

Available on Widget, provided by the SizedBoxExtension extension

All available widths

Operators

operator ==(Object other) bool
The equality operator.
inherited