ball_knowledge_graph 0.0.1
ball_knowledge_graph: ^0.0.1 copied to clipboard
3D球效果的知识树
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ball_knowledge_graph
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ball_knowledge_graph: ^0.0.1
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:ball_knowledge_graph/data/data.dart';
import 'package:ball_knowledge_graph/flutter_ball_graph.dart';
import 'package:ball_knowledge_graph/util/util.dart';
import 'package:ball_knowledge_graph/widget/controller.dart';
import 'package:ball_knowledge_graph/widget/mypainter.dart';
import 'package:ball_knowledge_graph/widget/r_ball_anim_view.dart';