-
Notifications
You must be signed in to change notification settings - Fork 0
Toggle
Ivan Galkin edited this page Jan 1, 2024
·
1 revision
One of the proposed visions of the segment control component.
Toggle component with colid colors, decomposed by platform.
Example of using a ready-made component:
FPCPrimaryToggle<String>(
value: value,
onChanged: (double value) {},
items: const [
FPCToggleItem<String>(
value: "first_item",
title: "First Item",
),
FPCToggleItem<String>(
value: "second_item",
title: "Second Item",
),
],
),
iOS (Cupertino) | Android (Material) |
---|---|
Toggle component with gradient colors, decomposed by platform.
Example of using a ready-made component:
FPCPrimaryGradientToggle<String>(
value: value,
onChanged: (double value) {},
items: [
FPCToggleItem<String>(
value: "first_item",
title: "First Item",
),
FPCToggleItem<String>(
value: "second_item",
title: "Second Item",
),
],
),
iOS (Cupertino) | Android (Material) |
---|---|
App
AppBar
Badge
Blur
BottomSheet
Button
Card
Checkbox
CodeField
Dialog
Divider
FormField
Global
Gradient
Icon
Indicator
Keyboard
List
Navigation
Picker
PINField
PopUp
Radio
Scaffold
Scrollbar
SegmentControl
SelectCard
SelectField
Shimmer
Slider
SlidingSegmentControl
SliverAppBar
SnackBar
Switch
Text
Toggle