Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

dotted_line

this package allows you to draw dotted lines with flutter.

dotted_line

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.
dashradius 0.0 the radius of the dash.
dashgaplength 4.0 the length of the dash gap.
dashgapcolor colors.transparent the color of the dash gap.
dashgapradius 0.0 the radius 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,
  dashradius: 0.0,
  dashgaplength: 4.0,
  dashgapcolor: colors.transparent,
  dashgapradius: 0.0,
)

example for draw dotted

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


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.