timelineview 0.0.2

Flutter Android iOS web

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
),
1
likes
60
pub points
35%
popularity

Publisher

karthikponnam.dev

A Flutter package to show a timeline kind of view

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

animator, flutter

More

Packages that depend on timelineview