SimpleBuilder class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SimpleBuilder
- Available extensions
Constructors
- SimpleBuilder.new({Key? key, required Widget builder(BuildContext)})
-
const
Properties
- builder → Widget Function(BuildContext)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- marginZero → Widget
-
Available on Widget, provided by the WidgetExtensions extension
Zero marginno setter - paddingZero → Widget
-
Available on Widget, provided by the WidgetExtensions extension
Zero paddingno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sliverBox → Widget
-
Available on Widget, provided by the WidgetSliverBoxX extension
no setter
Methods
-
backgroundColor(
Color color, {double opacity = 1.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Background color with optional opacity -
blur(
{double begin = 0, double end = 15, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a blur animation to the widget. -
bounce(
{required double begin, required double end, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a bounce animation to the widget. This is similar to a scale animation, but with a bounce effect. -
centered(
{bool horizontal = true, bool vertical = true}) → Widget -
Available on Widget, provided by the WidgetResponsiveX extension
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → SimpleBuilderState -
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
-
expand(
{int flex = 1}) → Widget -
Available on Widget, provided by the WidgetResponsiveX extension
-
fadeIn(
{Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a fade-in animation to the widget. -
fadeOut(
{Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a fade-out animation to the widget. -
flip(
{double begin = 0, double end = 1, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a flip animation to the widget. This creates a 3D flip effect. -
marginAll(
double margin) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Margin with validation and flexible options -
marginOnly(
{double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Margin only on specified sides with validation -
marginSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Symmetric margin with validation -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paddingAll(
double padding) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Padding with validation and flexible options -
paddingOnly(
{double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Padding only on specified sides with validation -
paddingSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Symmetric padding with validation -
rotate(
{required double begin, required double end, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a rotation animation to the widget. -
rotate(
double degrees) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Rotates the widget by a specified number of degrees -
scale(
double scaleFactor) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Scales the widget by a specified factor -
scale(
{required double begin, required double end, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a scale animation to the widget. -
size(
{required double begin, required double end, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a size animation to the widget. This effectively animates between two different sizes by scaling the widget. -
slide(
{required OffsetBuilder offset, double begin = 0, double end = 1, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a slide animation to the widget. Theoffset
parameter is a function that takes theBuildContext
and the animation value (0.0 to 1.0) and returns anOffset
. -
sliverBoxWithKey(
Key key) → Widget -
Available on Widget, provided by the WidgetSliverBoxX extension
-
spin(
{Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a spin animation (rotation) to the widget. This is a convenience method for a full 360-degree rotation. -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toNumberFormat(
int number) → String -
Available on Widget, provided by the WidgetExtensions extension
Formats an integer with comma-separated thousands -
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
-
visible(
bool isVisible) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Conditionally display the widget based on the isVisible flag -
wave(
{double begin = 0, double end = 1, Duration duration = _defaultDuration, Duration delay = _defaultDelay, ValueSetter< AnimationController> ? onComplete, bool isSequential = false}) → GetAnimatedBuilder -
Available on Widget, provided by the AnimationExtension extension
Adds a wave animation to the widget. This creates a vertical sinusoidal movement, like a wave. -
withBorder(
{Color color = Colors.black, double width = 1.0}) → Widget -
Available on Widget, provided by the WidgetExtensions extension
Adds a border to the widget with customizable color and width
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited