Skip to main content

styled_divider 1.0.6 copy "styled_divider: ^1.0.6" to clipboard
styled_divider: ^1.0.6 copied to clipboard

Drop-in replacements for Flutter's Divider and VerticalDivider that draw solid, dotted, dashed or dash-dotted lines and follow the DividerTheme.

1.0.0 12.01.2022 #

Initial Commit.

1.0.1 12.01.2022 #

Fix solid line style bug.

1.0.2 12.01.2022 #

Class name change.

1.0.3 12.05.2022 #

Fix a bug where the divider is not centered in the given space.

1.0.4 12.05.2022 #

Roll back the case for solid line style.

1.0.5 05.12.2023 #

Update dependency.

1.0.6 10.28.2026 #

  • indent and endIndent of StyledDivider now follow the text direction, like Divider: in right-to-left text, indent is on the right.
  • Solid lines use DividerThemeData.radius, like Divider.
  • Allow dotted_decoration 3.x.
  • Require Dart 3.6 and Flutter 3.27.
  • Add API documentation and tests.
  • Remove unused platform folders from the package.
  • Material 3 defaults are unchanged (a 0.0 thickness, and ThemeData.dividerColor for the dotted, dashed and dash-dotted styles). Defaults matching Flutter's Divider may come in a future minor release.
10
likes
160
points
44.5k
downloads

Documentation

API reference

Publisher

verified publisherwenkaifan.com

Weekly Downloads

Drop-in replacements for Flutter's Divider and VerticalDivider that draw solid, dotted, dashed or dash-dotted lines and follow the DividerTheme.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dotted_decoration, flutter

More

Packages that depend on styled_divider