toggle_switch 0.1.9 copy "toggle_switch: ^0.1.9" to clipboard
toggle_switch: ^0.1.9 copied to clipboard

outdated

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.9 #

  • Upgraded pre 1.12 flutter embedding in Android for example project (22d04ea).
  • Enabled AndroidX support for example project (3b62b21).
  • Migrated to strict null safety (bb24959).

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 #

  • Added fix to programmatically change switch index (a04d62e).
  • Added changeOnTap option to enable/disable switch (a04d62e).

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.
1.56k
likes
90
points
265k
downloads

Publisher

verified publisherpramod.dev

Weekly Downloads

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.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on toggle_switch