toggle_switch 0.1.8 toggle_switch: ^0.1.8 copied to clipboard
Toggle Switch - A simple toggle switch widget. It can be fully customized with desired icons, width, colors, text, corner radius etc. It also maintains selection state.
0.1.8 #
- Added left and right padding.
- Added fixes to prevent overflow:
- max widget width is calculated based on the number of labels/switches, minWidth and max screen width.
- resize widgets to fit if user-provided size params exceed available width.
0.1.7 #
0.1.6 #
- Made color parameters optional.
- Use default theme color if color parameter is null/not provided.
- Added additional gitignores for package.
0.1.5 #
- Added minHeight, fontSize, iconSize support.
- Added text overflow support.
- Renamed arguments to make them more specific.
- Added usage examples in Readme.
0.1.4 #
- Added icons support.
- Added different active background colors support.
0.1.1 ~ 0.1.3 #
- Readme updates.
0.1.0 #
- First version release.