Skip to content
pubscout

dashed_circle

0.0.2, released 6 years ago by an unverified publisher

A Flutter package for drawing dashed circles.

WASM-ready
$ flutter pub add dashed_circle

What it does

A Flutter widget that draws a dashed circle around its child. It can also be used with CustomPaint.

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

Use it when

  • You need to display a widget surrounded by a dashed circular border
  • You want a simple way to create dashed profile pictures or avatars

Skip it when

  • You need complex vector graphics or custom path shapes beyond circles
  • You need advanced state management or non-UI capabilities

Strengths

  • Simple and straightforward API
  • Supports null safety
  • Easy integration with standard widgets like CircleAvatar

Weaknesses

  • Very limited scope focusing only on dashed circles
  • Lacks extensive configuration options documented in the README

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
DashedCircle(
  child: Padding(
    padding: EdgeInsets.all(6.0),
    child: CircleAvatar(
      radius: 70.0,
      backgroundImage: NetworkImage(url),
    ),
  ),
  color: Colors.deepOrangeAccent,
)

Alternatives

Packages that do the same job and could replace dashed_circle.