GlitterStack class
A widget that shows multiple Glitters.
You can overlap other widgets using this in the same way as is possible with Stack.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- GlitterStack
Constructors
-
GlitterStack({Key? key, AlignmentGeometry alignment = AlignmentDirectional.topStart, TextDirection? textDirection, StackFit fit = StackFit.loose, Clip clipBehavior = Clip.hardEdge, List<
Widget> children = const <Widget>[], double? width, double? height, Color backgroundColor = const Color(0x00000000), double? minSize, double? maxSize, Duration? duration, Duration? inDuration, Duration? outDuration, Duration? interval, Color? color, double? maxOpacity}) -
Creates a widget that shows multiple Glitters.
const
Properties
- alignment → AlignmentGeometry
-
How to align the non-positioned and partially-positioned children
in the stack.
final
- backgroundColor → Color
-
The background color of the area in which a glitter is shown.
final
-
children
→ List<
Widget> -
The widgets below this widget in the tree.
final
- clipBehavior → Clip
-
The content will be clipped (or not) according to this option.
final
- color → Color?
-
The main color of glitters.
final
- duration → Duration?
-
The duration in which a glitter is shown with the maximum opacity.
This does not include the durations of fade-in/out and the interval
between glitters.
final
- fit → StackFit
-
How to size the non-positioned children in the stack.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
The height of the area in which a glitter is shown.
final
- inDuration → Duration?
-
The duration over which a glitter fades in.
final
- interval → Duration?
-
The duration of the wait between a glitter and the next.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxOpacity → double?
-
The maximum opacity that a glitter fades in up to and out from.
final
- maxSize → double?
-
The maximum size of a glitter shown inside the widget.
final
- minSize → double?
-
The minimum size of a glitter shown inside the widget.
final
- outDuration → Duration?
-
The duration over which a glitter fades out.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textDirection → TextDirection?
-
The text direction with which to resolve alignment.
final
- width → double?
-
The width of the area in which a glitter is shown.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
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
-
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}) → 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