ssun_chart 0.0.2 ssun_chart: ^0.0.2 copied to clipboard
Flutter Chart Library
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ssun_chart
With Flutter:
$ flutter pub add ssun_chart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ssun_chart: ^0.0.2
Alternatively, your editor might support dart pub get
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:ssun_chart/line_chart.dart';
import 'package:ssun_chart/model/line_data.dart';
import 'package:ssun_chart/model/radar_data.dart';
import 'package:ssun_chart/radar_chart.dart';
import 'package:ssun_chart/ui/line_chart.dart';
import 'package:ssun_chart/ui/radar_chart.dart';
import 'package:ssun_chart/utils/utils.dart';