flutter_horizontal_divider 1.0.0
flutter_horizontal_divider: ^1.0.0 copied to clipboard

Flutter Android iOS web

An horizontal divider for Flutter based on VerticalDivider.

flutter_horizontal_divider #

An horizontal divider for Flutter based on VerticalDivider.

Supported platforms #

  • Flutter Android
  • Flutter iOS
  • Flutter web
  • Flutter desktop

Live preview #

https://adbonnin.github.io/flutter_horizontal_divider/

Basic horizontal divider example :

simple

How to use #

Create an HorizontalDivider widget :

class BasicExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return HorizontalDivider(
      color: Colors.blue,
      height: 10.0,
      thickness: 4.0,
      indent: 20.0,
      endIndent: 20.0,
    );
  }
}
0
likes
90
pub points
8%
popularity

An horizontal divider for Flutter based on VerticalDivider.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

adrien.bonnin@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_horizontal_divider