Skip to content

Commit 16d9484

Browse files
authored
Update README.md
1 parent 225e5bc commit 16d9484

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Fully customizable, draggable and animated switch with multiple choices and [smooth loading animation](#loading-animation). It has prebuilt constructors for rolling and size animations, but it also allows you to create your own switches with `CustomAnimatedToggleSwitch`.
1616
`LTR` and `RTL` are both supported.
1717
[Switches without an (initial) selection](#nullable-selection) are also possible.
18-
Most builder arguments of `AnimatedToggleSwitch` have a standard and a custom version. This ensures that you can get started easily and still customize a lot if necessary. There are several options for [styling](#styling) it.
18+
Most builder arguments of `AnimatedToggleSwitch` have a standard and a custom version. This ensures that you can [get started easily](#simple-rolling-animation) and still customize a lot if necessary. There are several options for [styling](#styling) it.
1919

2020
For a slider with a similar look you can check out [action_slider](https://pub.dev/packages/action_slider).
2121

@@ -71,6 +71,7 @@ AnimatedToggleSwitch<int>.rolling(
7171
values: [0, 1, 2, 3],
7272
onChanged: (i) => setState(() => value = i),
7373
iconBuilder: iconBuilder,
74+
// iconList: [...], you can use iconBuilder, customIconBuilder or iconList
7475
style: ToggleStyle(...), // optional style settings
7576
... // many more parameters available
7677
)

0 commit comments

Comments
 (0)