dotted_line_flutter
2.1.8, released 2 years ago by puneetdev.in
Draw customizable dotted, dashed, and gradient lines, shapes, and text in Flutter.
What it does
Allows you to draw customizable dotted and dashed lines in horizontal or vertical directions. It also supports shadow effects, gradient colors, custom shapes, and dotted text rendering.
AI-written summary of version 2.1.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to draw custom dotted or dashed lines, boxes, or shapes.
- You want to apply gradient colors or shadows to line borders or shapes.
Skip it when
- You are looking for heavy-duty charting or plotting tools.
- You need complex physics or game engines.
Strengths
- Supports multiple shapes like stars, cubes, and text rendered in dots.
- Includes gradient and shadow support for visual depth.
- Customizable dash width, gap, and orientation.
Weaknesses
- Limited to specific pre-built shapes and dotted components.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
DottedLine(
axis: Axis.horizontal,
lineThickness: 2,
dashGap: 4,
dashWidth: 6,
colors: [Colors.red, Colors.blue],
)Alternatives
Packages that do the same job and could replace dotted_line_flutter.
- dotted_line
A Flutter widget to draw customizable dotted lines.
75Compare - styled_divider
Drop-in replacements for Flutter's Divider and VerticalDivider supporting multiple line styles.
80Compare - dotted_decoration
DottedDecoration widget for drawing dotted borders, lines, circles, and ovals.
72Compare - dotted_dashed_line
Draw horizontal or vertical dashed lines in any Flutter platform.
46Compare