segmented_control_plus 0.0.1 segmented_control_plus: ^0.0.1 copied to clipboard
A clean simple segmented control widget that works on all platforms.
Segmented control #
A clean simple segmented control widget that works on all platforms.
Features #
- Selection mode [Optional]
Usage #
Simple example on how to use the segmented control widget.
SegmentedControl<int>(
segments: [
Segment(
icon: Symbols.public_rounded,
value: 0,
tooltip: "Public",
),
Segment(
icon: Symbols.lock_rounded,
value: 2,
tooltip: "Private",
),
],
onTap: (val) => action(val),
),