PackageTrack
Sign in Get early access

material_segmented_control

A segmented control widget like the one for iOS, but in Material design.

5.0.1 9.1K downloads/mo #3056 most downloaded on pub.dev benjamin-kraatz/material_segmented_control

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 4 weeks to 13 months

Most releases are documented

notes for 24 of 38 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

40 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

40 releases · May 2019 to May 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 40
  1. 5.0.1 07 May 2024
    Release notes
    • Bump minimum Dart SDK version to >=3.0.0 <4.0.0
    • Add analysis_options.yaml file and apply linter recommendations
    Open source →
  2. 5.0.0 24 May 2023
    Release notes
    • BREAKING: Removed onSegmentChosen. Use onSegmentTapped instead

    In later versions, this package will require Dart SDK >=3.0.0 <4.0.0. Consider upgrading Flutter to at least 3.10.0

    Open source →
  3. 4.2.0 23 Feb 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.0.8...v4.2.0

    Open source →
    Release notes

    Deprecated

    • onSegmentChosen is deprecated and will be removed in later versions. Use onSegmentTapped instead.

    Other

    • Bump Dart SDK requirement to >= 2.19.0
    Open source →
  4. 4.1.1 24 Jan 2023
    Release notes
    • Add support for setting custom textStyles and a borderWidth for the entire widget (thanks to @chayanforyou)
    Open source →
  5. 4.1.0 24 Jan 2023

    Nothing published for this version

  6. 4.0.0 14 May 2022
    Release notes
    • Flutter 3 and Dart 2.17 updates
    • Added Material 3 opt-in to the example app
    Open source →
  7. 3.1.2 18 Apr 2021
    Release notes
    • x.y.z+B versioning changed to x.y.z scheme
    Open source →
  8. 3.1.1+4 18 Apr 2021
    Release notes
    • Fixed some static analysis issues (non-nullable types can never be null)
    Open source →
  9. 3.1.0+3 18 Apr 2021
    Release notes
    • Added nullsafety to the project
    • CHANGES:
      • selectedColor, disabledColor and disabledColor are no longer required and use default values
      • onSegmentChosen is no longer required and can be null. This has no effect so that you need to set disabledChildren in case you want disabled children (means the "ripple" effect on tap still exists)
      • Example project now uses ElevatedButton instead of deprecated RaisedButton
    • FIX:
      • ?? is no longer used on non-nullable values
    Open source →
  10. 3.0.0-nullsafety.1 07 Dec 2020 pre-release

    Nothing published for this version

  11. 3.0.0-nullsafety.0 07 Dec 2020 pre-release

    Nothing published for this version

  12. 2.1.1+1 07 Dec 2020
    Release notes
    • Changed an insecure URL in the README.md to an https URL that links to the pub.dev page of this package.
    • Fixed a wrong placed file in the example project
    • Added publish_to to the example project's pubspec.yaml file.
    Open source →
  13. 2.1.0 17 May 2020
    Release notes

    Massively improved example project. The following features were introduced there to showcase this package:

    • "Toggle Disabled" button: shows the use of disabled children
    • "Un-select all" button: Lets you clear the selection of all children
    Open source →
  14. 2.1.0+1 17 May 2020
    Release notes

    Extended README.md to explain key features and referenced the example project.

    Open source →
  15. 2.0.11 18 Apr 2020

    Nothing published for this version

  16. 2.0.11+1 18 Apr 2020
    Release notes
    • Children can now have a length of 1
    Open source →
  17. 2.0.10 08 Mar 2020

    Nothing published for this version

  18. 2.0.9 09 Dec 2019
    Release notes
    • Disabled feature is now stable. Set children to be disabled with disabledChildren.
    Open source →
  19. 2.0.8 08 Dec 2019
    Release notes
    • Fixed issue #9 - You can now set a list of disabled children
    • Disabled color defaults to Colors.grey (index 300).
    Open source →
  20. 2.0.7 11 Nov 2019

    Nothing published for this version

  21. 2.0.6 11 Nov 2019
    Release notes
    • Related to issue #4 you can now customize your widget in a better way.
    • Set the verticalOffset that controls the padding of a child.
    Open source →
  22. 2.0.5 11 Nov 2019
    Release notes
    • Fixed issue #7 - MSC is now usable inside a CupertinoApp.
    • InkWell ripple effect added; the Material styled ripple effect is seen on (long) tapping a segment. That makes the widget feel more like Material.
    Open source →
  23. 2.0.4 28 Oct 2019
    Release notes
    • Fixed bug #6 - not setting selectedColor and unselectedColor causes the library to crash.
    Open source →
  24. 2.0.3 24 Jun 2019

    Nothing published for this version

  25. 2.0.2 24 Jun 2019

    Nothing published for this version

  26. 2.0.1 24 Jun 2019
    Release notes
    • Maybe breaking version

    • Completely new approach behind the scenes

    • New coloring options

    • More customization

    • Define one single listener to get selected state

    • Removed issues

    • Better documentation on how to use

    • Works with every widget directly, no need to use a special class SegmentedItem

    Open source →
  27. 1.2.0 03 Jun 2019
    Release notes
    • Define colors in MSC widget generally, you do not need to specify the colors for each item separately.
    Open source →
  28. 1.1.3 01 Jun 2019

    Nothing published for this version

  29. 1.1.2 01 Jun 2019
    Release notes
    • Set initially selected item.
    Open source →
  30. 1.1.1 27 May 2019
    Release notes
    • Optical improvements
    Open source →
  31. 1.1.0 27 May 2019

    Nothing published for this version

  32. 1.0.2 24 May 2019

    Nothing published for this version

  33. 1.0.1 24 May 2019

    Nothing published for this version

  34. 1.0.0 24 May 2019
    Release notes
    • Updated to Dart SDK version 2.2.2 !
    • Provide the segmented control a list of children instead only left and right
    • Define selection callback for each item itself
    • Set colors for each item
    Open source →
  35. 0.2.1 21 May 2019

    Nothing published for this version

  36. 0.2.0 21 May 2019
    Release notes
    • Customize color
    • Set width
    Open source →
  37. 0.1.6 20 May 2019

    Nothing published for this version

  38. 0.1.5 20 May 2019

    Nothing published for this version

  39. 0.1.4 20 May 2019

    Nothing published for this version

  40. 0.1.3 20 May 2019
    Release notes
    • Licensing info is under LICENSE
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive