Skip to content
pubscout

r_dotted_line_border

0.1.1, released 6 years ago by rhyme95.cn

A Flutter decoration box package for rendering dotted line borders.

WASM-ready
$ flutter pub add r_dotted_line_border
Source repository

What it does

It provides a custom border implementation for BoxDecoration that allows developers to easily create dotted or dashed borders around widgets like Containers. Users can customize properties such as the dotted line length and spacing.

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

Use it when

  • You need to display a container with a dotted or dashed border
  • You want a drop-in replacement for standard box borders with customization for dash length and spacing

Skip it when

  • You need complex non-rectangular shapes or advanced vector graphics not covered by box decorations
  • You require robust, actively maintained packages with a large feature set for complex path manipulation

Strengths

  • Simple and straightforward API that mimics standard Flutter BoxBorder
  • Customizable dot length and spacing parameters

Weaknesses

  • Very minimal feature set
  • Lacks recent updates or extensive documentation beyond basic usage

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Container(
  width: 100,
  height: 100,
  decoration: BoxDecoration(
    border: RDottedLineBorder.all(
      width: 1,
    ),
  ),
)

Alternatives

Packages that do the same job and could replace r_dotted_line_border.

Works with

Packages commonly used together with r_dotted_line_border: ones it builds on, ones built on it, and its own family.