ColorSonar class

Inheritance

Constructors

ColorSonar({double contentAreaRadius = 24.0, double waveFall = 15.0, WaveMotion waveMotion = WaveMotion.synced, Curve waveMotionEffect = Curves.easeOut, Duration duration = const Duration(seconds: 1), bool wavesDisabled = false, Color contentAreaColor = Colors.white, Color innerWaveColor = const Color(0xFF696969), Color middleWaveColor = const Color(0xFFA9A9A9), Color outerWaveColor = const Color(0xFFDCDCDC), required Widget child})

Properties

child Widget
The widget to be placed inside the waves.
final
contentAreaColor Color
The background color of the content area.
final
contentAreaRadius double
The radius of the content area.
final
duration Duration
Determines how fast or slow the waves should transmit.
final
hashCode int
The hash code for this object.
no setterinherited
innerWaveColor Color
The color of the inner most wave.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
middleWaveColor Color
The color of the middle wave.
final
outerWaveColor Color
The color of the outer wave.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
waveFall double
Determines how far the waves should transmit away from the content area.
final
waveMotion WaveMotion
Determines the motion of waves while they transmit away from the content area.
final
waveMotionEffect Curve
The effect to apply to the motion of waves while they transmit away from the content area.
final
wavesDisabled bool
Whether the waves are disabled or not.
getter/setter pair

Methods

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