sankey_flutter 0.0.3
sankey_flutter: ^0.0.3 copied to clipboard
Flutter package for interactive Sankey diagrams with gradient links, node selection, and d3-sankey layout algorithm.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sankey_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sankey_flutter: ^0.0.3Alternatively, 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:sankey_flutter/interactive_sankey_painter.dart';
import 'package:sankey_flutter/sankey.dart';
import 'package:sankey_flutter/sankey_helpers.dart';
import 'package:sankey_flutter/sankey_link.dart';
import 'package:sankey_flutter/sankey_node.dart';
import 'package:sankey_flutter/sankey_painter.dart';