UiFluidMorph class
Experimental V13 morph. Geometry is expressed in this widget's local coordinate space. The parent owns available space and overlay lifecycle. The source and destination stay mounted; visible content stays interactive during motion.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- UiFluidMorph
Constructors
-
UiFluidMorph({Key? key, required UiFluidController controller, required UiFluidGeometry sourceGeometry, required UiFluidGeometry destinationGeometry, required Widget source, required Widget destination, required Color color, BoxFit sourceFit = BoxFit.contain, bool stableDestinationHitTargets = false, Color? sourceColor, UiFluidGeometry? initialSourceGeometry, Color? initialSourceColor, BorderSide? initialSourceBorder, BorderSide? sourceBorder, List<
BoxShadow> ? sourceShadows, double? sourceBackdropBlurSigma, double contraction = .68, double pressExpansion = 1, double springStrength = 1, double travelArc = 0, Widget overlayBuilder(BuildContext context, UiFluidMorphFrame frame)?, List<BoxShadow> shadows = const [], double backdropBlurSigma = 0, Color foregroundColor = const Color(0x00000000), BorderSide border = BorderSide.none, Alignment alignment = Alignment.center}) -
const
Properties
- alignment → Alignment
-
final
- backdropBlurSigma → double
-
Background blur clipped to the animated outline; zero disables it.
final
- border → BorderSide
-
Outline painted inside the moving rounded boundary.
final
- color → Color
-
final
- contraction → double
-
final
- controller → UiFluidController
-
final
- destination → Widget
-
final
- destinationGeometry → UiFluidGeometry
-
final
- foregroundColor → Color
-
Non-interactive tint painted over this surface and its content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialSourceBorder → BorderSide?
-
final
- initialSourceColor → Color?
-
final
- initialSourceGeometry → UiFluidGeometry?
-
Current pressed appearance for the first frame; reversal returns to source.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- overlayBuilder → Widget Function(BuildContext context, UiFluidMorphFrame frame)?
-
Optional shared content painted above both transitioning content layers.
final
- pressExpansion → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadows
→ List<
BoxShadow> -
final
- source → Widget
-
final
- sourceBackdropBlurSigma → double?
-
final
- sourceBorder → BorderSide?
-
final
- sourceColor → Color?
-
final
- sourceFit → BoxFit
-
Optional compact-endpoint styling. Null preserves the destination style.
final
- sourceGeometry → UiFluidGeometry
-
final
-
sourceShadows
→ List<
BoxShadow> ? -
final
- springStrength → double
-
final
- stableDestinationHitTargets → bool
-
Use final destination bounds for interaction while opening content appears.
Paint continues to follow the morph, without mounting a second action tree.
final
- travelArc → double
-
Maximum downward bow of the travel path. Zero retains straight travel.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< UiFluidMorph> -
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
-
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