flutter_chartx 1.0.0-dev2
flutter_chartx: ^1.0.0-dev2 copied to clipboard
This package offers widgets for drawing simple to complex charts with customizable options like visibility, color, line width, line color, text color, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_chartxWith Flutter:
$ flutter pub add flutter_chartxThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_chartx: ^1.0.0-dev2Alternatively, 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:flutter_chartx/components/ChartAnimation.dart';
import 'package:flutter_chartx/components/ChartController.dart';
import 'package:flutter_chartx/components/ChartLabeledData.dart';
import 'package:flutter_chartx/components/ChartState.dart';
import 'package:flutter_chartx/components/types.dart';
import 'package:flutter_chartx/flutter_chart.dart';
import 'package:flutter_chartx/widgets/ChartContext.dart';
import 'package:flutter_chartx/widgets/ChartStyle.dart';
import 'package:flutter_chartx/widgets/ColumnChart.dart';
import 'package:flutter_chartx/widgets/DrivenChart.dart';