Skip to content

A high-performance component to draw dashed line in Flutter

License

Notifications You must be signed in to change notification settings

infleet/flutter_dash

 
 

Repository files navigation

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

Param Default Desc
direction Axis.horizontal Direction of line
length 200 Length of line
dashLength 6 Length of dash
dashThickness 1 Thickness of dash
dashColor Colors.black Line color
dashBorderRadius 0 Border of dash
dashGap 3 Distance between 2 dash

alt

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

About

A high-performance component to draw dashed line in Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 86.7%
  • Swift 6.8%
  • Kotlin 5.9%
  • Objective-C 0.6%