AurisScanBracket class

Targeting-reticle corner brackets drawn around a child, with an optional opacity pulse on durationSlow (§spec:custom-widgets).

The four L-shaped corner ticks are the HUD "lock-on" reticle that frames content without a full border. The bracket color defaults to the scheme's active primary. When pulse is enabled the brackets fade in and out; the pulse respects MediaQuery.disableAnimations and renders the steady (full opacity) end state when reduced motion is requested (§spec:motion-performance).

Inheritance

Constructors

AurisScanBracket({Key? key, required Widget child, Color? color, double bracketLength = 14, double strokeWidth = 2, EdgeInsetsGeometry padding = const EdgeInsets.all(6), bool pulse = false})
Creates a scan-bracket frame around child.
const

Properties

bracketLength double
The length of each leg of an L-shaped corner bracket.
final
child Widget
The framed content.
final
color Color?
The bracket color. Defaults to the scheme's active primary.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padding EdgeInsetsGeometry
Padding between the brackets and child.
final
pulse bool
When true the brackets pulse in opacity (ignored under reduced motion).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeWidth double
The bracket stroke width.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<AurisScanBracket>
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