Skip to content

Installing

iss edited this page Mar 15, 2022 · 3 revisions

Use this package as a library

Depend on it
Run this command:
With Flutter:

 $ flutter pub add field_suggestion

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  field_suggestion: ^0.2.3

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:field_suggestion/field_suggestion.dart';

Alternatively, you can use installing guidelines from pub.dev