flutter_dash

A small library to draw dashed line in flutter :D

Install

Just add flutter_dash as a dependency in your pubspec.yaml file.

Usage

Here are some example:

import 'package:flutter_dash/flutter_dash.dart';

Dash()
Dash(
  direction: Axis.horizontal,
  length: 132,
  dashLength: 12,
  dashColor: Colors.red)

Parameter

ParamDefaultDesc
directionAxis.horizontalDirection of line
length200Length of line
dashLength6Length of dash
dashThickness1Thickness of dash
dashColorColors.blackLine color
dashBorderRadius0Border of dash
dashGap3Distance between 2 dash

alt

Don't forget to give a star if it help you

Libraries

flutter_dash