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

A Flutter package to provide a adaptive divider.

A Divider that can easily adding to flex widgets, such as Columns and Rows, boasting rounded corners for added visual appeal.

Getting started #

In your library add the following import:

import 'package:adaptive_divider/adaptive_divider.dart';

Usage #

build(BuildContext context) {
    List<Widget> children = [
        WidgetA(),
        AdaptiveDivider(),
        WidgetB(),
        AdaptiveDivider(),
        WidgetC(),
    ];
    if (row) {
        return Row(
            children: children,
        );
    } else {
        return Column(
            children: children,
        );
    }
}
2
likes
140
pub points
10%
popularity

Publisher

verified publisher66catknight-flutter.com

A Flutter package to provide a adaptive divider.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on adaptive_divider