Skip to content
pubscout

dotted_separator

1.0.6, released 3 years ago by an unverified publisher

A Flutter package providing customizable dotted separators and container widgets.

WASM-ready
$ flutter pub add dotted_separator
Source repository

What it does

Provides reusable widgets like DottedSeparator and DottedContainer to easily display customizable dotted lines, borders, and shapes in Flutter applications. Developers can configure properties such as dash width, space, stroke width, and colors.

AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display a horizontal or vertical dotted separator line.
  • You want to create a container with customizable dotted borders and shapes.

Skip it when

  • You require complex vector graphics or custom path painting that goes beyond simple dotted lines and borders.

Strengths

  • Easy to integrate and customize via clear parameters.
  • Supports both Android, iOS, web, Windows, macOS, and Linux.

Weaknesses

  • Limited to specific dotted separator and container use cases.
  • Documentation relies heavily on basic examples.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
DottedSeparator(
    height: 2,
    width: double.infinity,
    axis: Axis.horizontal,
    dashWidth: 5,
    dashSpace: 3,
    strokeWidth: 1.5,
    dashColor: Colors.black,
)

Alternatives

Packages that do the same job and could replace dotted_separator.