charthub 1.0.0 charthub: ^1.0.0 copied to clipboard
Create stunning and interactive charts in your Flutter apps effortlessly with the Charthub package. Choose from three chart types - Line Chart, Bar Chart, and Pie Chart - and bring your data to life. [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add charthub
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
charthub: ^1.0.0
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:charthub/Methods/extended_methods.dart';
import 'package:charthub/barChart.dart';
import 'package:charthub/lineChart.dart';
import 'package:charthub/pieChart.dart';