InputSliderForm class
An InputSliderForm groups multiple InputSlider, aligns them nicely and can be used to provide the same styling to all of them.
If the same styling parameter is set for both the InputSliderForm and one of its children, the child value is chosen.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- InputSliderForm
Constructors
-
InputSliderForm({Key? key, required List<
InputSlider> children, int? leadingWeight, int? sliderWeight, InputDecoration? inputDecoration, BorderRadius? borderRadius, Color? focusBorderColor, Color? borderColor, bool? filled, Color? fillColor, TextStyle? textFieldStyle, Color? inactiveSliderColor, Color? activeSliderColor, bool vertical = false}) -
const
Properties
- activeSliderColor → Color?
-
The color of the active (left) part of the slider.
final
- borderColor → Color?
-
The border color of the TextField if not focused.
Ignored if inputDecoration is non-null.
final
- borderRadius → BorderRadius?
-
The border radius of the TextField.
Ignored if inputDecoration is non-null.
final
-
children
→ List<
InputSlider> -
The InputSlider contained in this InputSliderForm
final
- fillColor → Color?
-
The color with which the TextField is filled, if filled is true.
Ignored if inputDecoration is non-null.
final
- filled → bool?
-
Whether the TextField is filled.
Ignored if inputDecoration is non-null.
final
- focusBorderColor → Color?
-
The border color of the TextField if focused.
Ignored if inputDecoration is non-null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveSliderColor → Color?
-
The color of the inactive (right) part of the slider.
final
- inputDecoration → InputDecoration?
-
The InputDecoration used by the TextField. If null, use a default decoration.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leadingWeight → int?
-
Determines the proportional weight (flex) of the leading widget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sliderWeight → int?
-
Determines the proportional weight (flex) of the slider.
final
- textFieldStyle → TextStyle?
-
The TextStyle used in the TextField.
final
- vertical → bool
-
If true, rotates all InputSlider by 90 degrees. Keeps the orientation of the
TextFields and the leading widgets. Default is false.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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