S2SingleBuilder<T> class

Builder collection of single choice widget

Inheritance

Constructors

S2SingleBuilder({S2WidgetBuilder<S2SingleState<T>>? tile, S2WidgetBuilder<S2SingleState<T>>? modal, S2WidgetBuilder<S2SingleState<T>>? modalHeader, S2ListWidgetBuilder<S2SingleState<T>>? modalActions, S2WidgetBuilder<S2SingleState<T>>? modalFilter, S2WidgetBuilder<S2SingleState<T>>? modalFilterToggle, S2WidgetBuilder<S2SingleState<T>>? modalConfirm, S2WidgetBuilder<S2SingleState<T>>? modalDivider, S2WidgetBuilder<S2SingleState<T>>? modalFooter, S2ComplexWidgetBuilder<S2SingleState<T>, S2Group<T>>? group, S2ComplexWidgetBuilder<S2SingleState<T>, S2Group<T>>? groupHeader, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choice, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceTitle, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceSubtitle, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceSecondary, S2WidgetBuilder<S2SingleState<T>>? choiceEmpty, IndexedWidgetBuilder? choiceDivider})
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
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
modalFooter S2WidgetBuilder<S2SingleState<T>>?
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<T>>? tile, S2WidgetBuilder<S2SingleState<T>>? modal, S2WidgetBuilder<S2SingleState<T>>? modalHeader, S2WidgetBuilder<S2SingleState<T>>? modalFilter, S2WidgetBuilder<S2SingleState<T>>? modalFilterToggle, S2ListWidgetBuilder<S2SingleState<T>>? modalActions, S2WidgetBuilder<S2SingleState<T>>? modalConfirm, S2WidgetBuilder<S2SingleState<T>>? modalDivider, S2WidgetBuilder<S2SingleState<T>>? modalFooter, S2ComplexWidgetBuilder<S2SingleState<T>, S2Group<T>>? group, S2ComplexWidgetBuilder<S2SingleState<T>, S2Group<T>>? groupHeader, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choice, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceTitle, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceSubtitle, S2ComplexWidgetBuilder<S2SingleState<T>, S2Choice<T>>? choiceSecondary, S2WidgetBuilder<S2SingleState<T>>? choiceEmpty, IndexedWidgetBuilder? choiceDivider}) S2SingleBuilder<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