timelineview 1.0.2 copy "timelineview: ^1.0.2" to clipboard
timelineview: ^1.0.2 copied to clipboard

A Flutter package to show a timeline kind of view

TimelineView #

How to use #

TimelineView(
    activeIndex: activeIndex, // active index default (0)
    showLabels: false, // weather to show lables at bottom or not default (true)
    circleRadius: 15.0, // radius of the circle ignored if selected and unSelectedWidgets are provided
    lineHeight: 2.0, // Height of line will be ignored if lineWidget is provided
    lineWidget: _lineWidget, // Widget will be placed in the line
    selectedTextStyle: , // selected item label style
    selectedWidget: , // selected widget
    unSelectedTextStyle: , // unselected item label style
    unSelectedWidget: , // unselected widget
    onChanged: (index) {
        setState(() {
            activeIndex = index;
        });
    }, // onSelection changed trigger
    labelWidgets: <Widget>[
        Text("One"),
        Text("TwoThree"),
        Text("Four"),
    ], // list of items
),
3
likes
110
pub points
45%
popularity

Publisher

verified publisherkarthikponnam.dev

A Flutter package to show a timeline kind of view

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

animator, flutter

More

Packages that depend on timelineview