Skip to content
pubscout

fdottedline

2.0.0, released 4 weeks ago by an unverified publisher

Create dotted lines, dashed shapes, and dotted borders for widgets.

WASM-ready
$ flutter pub add fdottedline
Source repository

What it does

FDottedLine lets developers easily draw horizontal or vertical dotted lines, build dashed rectangular shapes, and add custom dotted borders with rounded corners to any Flutter widget.

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

Use it when

  • You need to display a dashed or dotted line separator
  • You want to add a dotted border around a widget or container
  • You need custom rounded corner effects on dashed borders

Skip it when

  • You require complex vector graphics or path manipulations beyond simple dashed lines and rectangles
  • You only need standard solid borders natively supported by BoxDecoration

Strengths

  • Very simple API for creating dotted lines and borders
  • Supports wrapping arbitrary widgets to give them dotted borders
  • Supports custom corner effects, segment lengths, spacing, and thickness

Weaknesses

  • Limited to basic lines, rectangles, and corner variations
  • License is unknown in pubspec metadata

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
FDottedLine(
  color: Colors.blue,
  width: 160.0,
  strokeWidth: 2.0,
  dottedLength: 10.0,
  space: 2.0,
)

Alternatives

Packages that do the same job and could replace fdottedline.