dotted_decoration 1.2.1 copy "dotted_decoration: ^1.2.1" to clipboard
dotted_decoration: ^1.2.1 copied to clipboard

outdated

Dotted line decoration is handly package to draw dotted divider, dotted border for rectangle, circle or rounded rectangle.

dotted_decoration #

Dotted line decoration is handly package to draw dotted divider, dotted border for rectangle, oval or circle.

screenshot image #

Flutter Dotted Decoration screenshot

Installing #

To use this package, add dotted_decoration as a dependency in your pubspec.yaml file.

Usage #

Create a container widget and assign DottedDecoration as decoration

Container(
    decoration: DottedDecoration()
    child: Text('Dotted Decoration')
)

Parameters #

Shape

Kind of outline shape, default shape is Shape.line.

shape: Shape.line shape: Shape.box shape: Shape.oval

linePosition

Where line is located, default shape is LinePosition.bottom.

linePosition: LinePosition.bottom linePosition: LinePosition.left linePosition: LinePosition.right linePosition: LinePosition.top

dash

Border line order, first in dash and second is space.

dash: <int>[2, 5]

strokeWidth

Line width.

strokeWidth: 2

color

Color of line, default shape is Colors.grey.

color: Colors.red

126
likes
0
pub points
98%
popularity

Publisher

unverified uploader

Dotted line decoration is handly package to draw dotted divider, dotted border for rectangle, circle or rounded rectangle.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dotted_decoration