StudioFocusLight class
child, a face with radius corners, lit from behind while edge shows: the light comes out of the gap round the face, 3 px of edge hugging its outline with no gap (3:1 and more against what is round the part, over more than a 2 px perimeter, by day and by night), and a soft amber glow beyond it. The face itself and its words are untouched. sink moves the light with a key pressed into its socket. A transparent edge puts the light out; it comes and goes on the lamp's spring, cut under Reduce Motion.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- StudioFocusLight
Constructors
Properties
- child → Widget
-
The face.
final
- edge → Color
-
The edge light; transparent when the part has no focus.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- radius → double
-
The face's corners.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sink → double
-
How far the face has sunk into its socket.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StudioFocusLight> -
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