adaptive_divider 1.0.2 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,
);
}
}