cupertino_segment_control 0.0.3 copy "cupertino_segment_control: ^0.0.3" to clipboard
cupertino_segment_control: ^0.0.3 copied to clipboard

Dart 1 only

A Cupertino-stype segment control

cupertino_segment_control #

A flutter package which adds the Apple's iOS Segment Control UI element.

Getting Started #

  • Add the package to your pubspec
  • Add following code:
    new SegmentControl([
        new SegmentControlItem("test1", new Text("test1")),
        new SegmentControlItem("test2", new Text("test2")),
        new SegmentControlItem("test3", new Text("test3")),
    ]),
    

PS: minimum of 1 SegmentControlItem and maximum of 3 SegmentControlItem due to this bug: https://github.com/flutter/flutter/issues/12583

Showcase #

0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A Cupertino-stype segment control

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on cupertino_segment_control