How to install and use dotted_line with Flutter 3.7.0

A popular Flutter package with 186 likes that support Flutter version 3.7.0 and above. Last version of the package was published on Feb 08, 2023.

Installing dotted_line

You can either add the package directly using the flutter command line.

$ flutter pub add dotted_line

Or add the dependency directly to your pubspec.yaml file.
dependencies:
  dotted_line: ^3.1.0

In either case, make sure to refresh your packages by running the following command:

$ flutter pub get

Using dotted_line

Once you have installed the package, you can use it in your Flutter application by importing it.
import 'package:dotted_line/dotted_line.dart';