BuildSettings class abstract
A class that holds information about how to build a node.
- Implementers
Constructors
- BuildSettings({bool withOpacity = true, bool withVisibility = true, bool withRotation = true, bool withMargins = true, bool withConstraints = true, bool withReactions = true, bool withAlignment = true, bool isPreview = false, bool useInk = true, bool obscureImages = false})
-
Creates a BuildSettings instance.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPreview → bool
-
Whether to render the preview version of the widget.
final
- obscureImages → bool
-
Whether to obscure images instead of rendering them.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - useInk → bool
-
Whether to wrap an Ink widget around this widget.
final
- withAlignment → bool
-
Whether to internally handle the node's alignment.
final
- withConstraints → bool
-
Whether to internally handle the node's constraints.
final
- withMargins → bool
-
Whether to internally handle the node's margins.
final
- withOpacity → bool
-
Whether to internally handle the node's opacity.
final
- withReactions → bool
-
Whether to internally handle the node's reactions.
final
- withRotation → bool
-
Whether to internally handle the node's rotation.
final
- withVisibility → bool
-
Whether to internally handle the node's visibility.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited