fl_chart 0.20.0-nullsafety1 fl_chart: ^0.20.0-nullsafety1 copied to clipboard
A powerful Flutter chart library, currently supporting Line Chart, Bar Chart and Pie Chart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fl_chart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fl_chart: ^0.20.0-nullsafety1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fl_chart/fl_chart.dart';