S2MultiChosen<T> class
- Inheritance
-
- Object
- S2ChosenData<
T> - S2MultiChosen
- Mixed-in types
Constructors
-
S2MultiChosen(List<
S2Choice< ? choice)T> > - Default constructor
Properties
-
choice
→ List<
S2Choice< ?T> > -
Returns the choice item(s)
no setteroverride
-
group
→ List<
String> ? -
Returns an array of
group
of the choiceno setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Returns
true
if there are no values in the chosen datano setterinherited - isNotEmpty → bool
-
Returns
true
if there is at least one value in the chosen datano setterinherited - length → int
-
Returns the length of the choice
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subtitle
→ List<
String> ? -
Returns an array of
subtitle
of the choiceno setterinherited -
title
→ List<
String> ? -
Returns an array of
title
of the choiceno setterinherited -
value
→ List<
T> -
Returns an array of
value
of the current choiceno setterinherited
Methods
-
has(
S2Choice< T> choice) → bool -
Returns
true
if the chosen contains the supplied choice iteminherited -
hasAll(
List< S2Choice< choices) → boolT> > -
Returns `true if the selection has every of the supplied values
inherited
-
hasAny(
List< S2Choice< choices) → boolT> > -
Returns
true
if the selection has any of the supplied valuesinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string that can be used as display,
returns title if is valid and is not empty,
returns placeholder if is valid and is empty.
inherited
-
toWidget(
) → Widget -
Return a Text widget from toString
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited