S2SingleBuilder<T> class
Builder collection of single choice widget
Constructors
-
S2SingleBuilder({S2WidgetBuilder<
S2SingleState< ? tile, S2WidgetBuilder<T> >S2SingleState< ? modal, S2WidgetBuilder<T> >S2SingleState< ? modalHeader, S2ListWidgetBuilder<T> >S2SingleState< ? modalActions, S2WidgetBuilder<T> >S2SingleState< ? modalFilter, S2WidgetBuilder<T> >S2SingleState< ? modalFilterToggle, S2WidgetBuilder<T> >S2SingleState< ? modalConfirm, S2WidgetBuilder<T> >S2SingleState< ? modalDivider, S2ComplexWidgetBuilder<T> >S2SingleState< ? group, S2ComplexWidgetBuilder<T> , S2Group<T> >S2SingleState< ? groupHeader, S2ComplexWidgetBuilder<T> , S2Group<T> >S2SingleState< ? choice, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceTitle, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceSubtitle, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceSecondary, S2WidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceEmpty, IndexedWidgetBuilder? choiceDivider})T> > -
default contructor
const
Properties
-
choice
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Choice<T> > -
Builder for each custom choices item
final
- choiceDivider → IndexedWidgetBuilder?
-
Builder for custom divider widget between choices item
finalinherited
-
choiceEmpty
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for custom empty display
final
-
choiceSecondary
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Choice<T> > -
Builder for each custom choices item secondary
final
-
choiceSubtitle
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Choice<T> > -
Builder for each custom choices item subtitle
final
-
choiceTitle
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Choice<T> > -
Builder for each custom choices item subtitle
final
-
group
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Group<T> > -
A widget builder for custom choices group
final
-
groupHeader
→ S2ComplexWidgetBuilder<
S2SingleState< ?T> , S2Group<T> > -
A widget builder for custom header choices group
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modal
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for custom modal widget
final
-
modalActions
→ S2ListWidgetBuilder<
S2SingleState< ?T> > -
Builder for custom modal actions widget
final
-
modalConfirm
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for modal confirm action widget
final
-
modalDivider
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for divider widget between header, body, and footer modal
final
-
modalFilter
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for modal filter
final
-
modalFilterToggle
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for modal filter toggle
final
-
Builder for modal footer widget
final
-
modalHeader
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for custom modal header widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tile
→ S2WidgetBuilder<
S2SingleState< ?T> > -
Builder for custom tile widget
final
Methods
-
copyWith(
{S2WidgetBuilder< S2SingleState< ? tile, S2WidgetBuilder<T> >S2SingleState< ? modal, S2WidgetBuilder<T> >S2SingleState< ? modalHeader, S2WidgetBuilder<T> >S2SingleState< ? modalFilter, S2WidgetBuilder<T> >S2SingleState< ? modalFilterToggle, S2ListWidgetBuilder<T> >S2SingleState< ? modalActions, S2WidgetBuilder<T> >S2SingleState< ? modalConfirm, S2WidgetBuilder<T> >S2SingleState< ? modalDivider, S2ComplexWidgetBuilder<T> >S2SingleState< ? group, S2ComplexWidgetBuilder<T> , S2Group<T> >S2SingleState< ? groupHeader, S2ComplexWidgetBuilder<T> , S2Group<T> >S2SingleState< ? choice, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceTitle, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceSubtitle, S2ComplexWidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceSecondary, S2WidgetBuilder<T> , S2Choice<T> >S2SingleState< ? choiceEmpty, IndexedWidgetBuilder? choiceDivider}) → S2SingleBuilder<T> >T> - Creates a copy of this S2SingleBuilder but with the given fields replaced with the new values.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
merge(
S2SingleBuilder< T> ? other) → S2SingleBuilder<T> - Creates a copy of this S2SingleBuilder but with the given fields replaced with the new values.
-
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