OptionSlotBuilder<T> class
Constructors
-
OptionSlotBuilder({required List<
T> options, required SlotWidgetBuilder builder, required ValueChanged<int> onSelect, required int activeIndex, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8), Color? backgroundColor = const Color(0xfffafafa)})
Properties
- activeIndex → int
-
final
- backgroundColor → Color?
-
finalinherited
- builder → SlotWidgetBuilder
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onSelect
→ ValueChanged<
int> -
final
- onTap → VoidCallback?
-
finalinherited
-
options
→ List<
T> -
final
- padding → EdgeInsetsGeometry
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ DropMenuCellStyle?
-
getter/setter pair
Methods
-
borderRadius(
SlotMeta meta) → BorderRadius -
inherited
-
build(
BuildContext context, SlotMeta meta) → Widget -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited