BasicShape class abstract
BasicShape
is an abstract class that extends StatefulWidget
and has a
createState
method that returns a BasicShapeState
object
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BasicShape
- Implementers
Constructors
-
BasicShape({required GlobalKey<
ShakeWidgetState> shakeKey, required List<GlobalKey< shakeKeyColors, required double width, required ValueNotifier<BlinkWidgetState> >SelectionModes> selectionMode, required ValueNotifier<List< coloredButtons, required ValueNotifier<CrossButton> >List< selectedButtons, required ValueNotifier<CrossButton> >bool> resetSignal, required ResultNotifier resultValueNotifier, Key? key}) -
A constructor that takes a
key
as a parameter.const
Properties
-
coloredButtons
→ ValueNotifier<
List< CrossButton> > -
Creating a list of CrossButton objects.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
resetSignal
→ ValueNotifier<
bool> -
Creating a list of CrossButton objects.
final
- resultValueNotifier → ResultNotifier
-
A variable that is used to store the result of the interpreter.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
selectedButtons
→ ValueNotifier<
List< CrossButton> > -
Creating a list of CrossButton objects.
final
-
selectionMode
→ ValueNotifier<
SelectionModes> -
It's a variable that is used to store the current selection mode.
final
-
shakeKey
→ GlobalKey<
ShakeWidgetState> -
It's a key that is used to access the state of the
ShakeWidget
final -
shakeKeyColors
→ List<
GlobalKey< BlinkWidgetState> > -
final
- width → double
-
It's a variable that is used to store the width of the widget.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → BasicShapeState< BasicShape> -
Creating a state object.
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