FMultiValueManagedControl<T> class
abstract
A FMultiValueManagedControl enables widgets to manage their own controller internally while exposing parameters for common configurations.
Subclass ManagedControl to create variants with different defaults or behaviors, e.g., FCalendarControl.date()
vs FCalendarControl.range().
- Inheritance
-
- Object
- FMultiValueControl<
T> - FMultiValueManagedControl
- Mixed-in types
Constructors
-
FMultiValueManagedControl({FMultiValueNotifier<
T> ? controller, int? min, int? max, ValueChanged<Set< ? onChange})T> > -
Creates a FMultiValueControl.
const
Properties
-
controller
→ FMultiValueNotifier<
T> ? -
The controller.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → int?
-
The maximum number of selected items. Defaults to no limit.
final
- min → int?
-
The minimum number of selected items. Defaults to 0.
final
-
onChange
→ ValueChanged<
Set< ?T> > -
Called when the selected values change.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createController(
) → FMultiValueNotifier< T> -
Creates a FMultiValueNotifier<T>.
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited