flutter_bullet_list 0.0.4 copy "flutter_bullet_list: ^0.0.4" to clipboard
flutter_bullet_list: ^0.0.4 copied to clipboard

A Flutter package for web-like ordered and unordered lists with multi-level items and customizable bullet styles.

Flutter Bullet List #

Developed by Flutter Simplified

Targeted Features #

  • Single-level Unordered list
  • Customize Bullet point style
  • Multi-level unordered list
  • Add Icon to bullet point
  • Add customizations to individual level

Basic Usage #

Implementing Single Level List #

  • Declare your list of ListItemModel
final List<ListItemModel> data=[
    ListItemModel(label: "Flutter Simplified"),
    ListItemModel(label: "Flutter Simplified"),
    ListItemModel(label: "Flutter Simplified"),
    ListItemModel(label: "Flutter Simplified"),
    ListItemModel(label: "Flutter Simplified"),
];
  • Add FlutterBulletList to your widget tree
FlutterBulletList(
  data: data,
  textStyle: TextStyle(color: Colors.blue),
  bulletColor: Colors.red,
),

Implementing Multi-level Lists #

  • Add List<ListItemModel> to data key
final List<ListItemModel> data = [
    ListItemModel(
        label: "Flutter Simplified",
        data: [ListItemModel(label: "Follow Us on Instagram")],
    ),
    ListItemModel(  
        label: "Flutter Simplified",
        data: [
            ListItemModel(
                label: "Flutter",
                data: [
                    ListItemModel(
                        label: "Simplified",
                        data: [ListItemModel(label: "Follow us")],
                    ),
                ],
            ),
        ],
    ),
];

Properties #

Property Usage
data List of ListItemComponent
spaceBetweenItem distance between one list item to other
bulletSize size bullet indicator
bulletType design of bullet indicator
bulletColor Customize the color of bullet indicator
bulletSpacing distance between bullet indicator and string
4
likes
110
pub points
51%
popularity

Publisher

unverified uploader

A Flutter package for web-like ordered and unordered lists with multi-level items and customizable bullet styles.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, numerus

More

Packages that depend on flutter_bullet_list