dotted_line 1.0.0 copy "dotted_line: ^1.0.0" to clipboard
dotted_line: ^1.0.0 copied to clipboard

outdated

This package allows you to draw dotted lines with Flutter.

About #

This package allows you to draw dotted lines with Flutter.

screenshot.png

Usage #

Parameter Default Description
direction Axis.horizontal The direction of the entire dotted line.
lineLength double.infinity The length of the entire dotted line.
lineThickness 1.0 The thickness of the entire dotted line.
dashLength 4.0 The length of the dash.
dashColor Colors.black The color of the dash.
dashGapLength 4.0 The length of the dash gap.
dashGapColor Colors.white The color of the dash gap.

This can be used without parameters.

import 'package:dotted_line/dotted_line.dart';

DottedLine()

You can also customize by specifying parameters.

import 'package:dotted_line/dotted_line.dart';

DottedLine(
  direction: Axis.horizontal,
  lineLength: double.infinity,
  lineThickness: 1.0,
  dashLength: 4.0,
  dashColor: Colors.black,
  dashGapLength: 4.0,
  dashGapColor: Colors.white,
)

Example #

The sample code can be found under the example package. You can try changing all parameters.

258
likes
0
pub points
99%
popularity

Publisher

unverified uploader

This package allows you to draw dotted lines with Flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dotted_line