trading_chart 0.1.2 trading_chart: ^0.1.2 copied to clipboard
A Flutter for trading view with K Chart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add trading_chart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
trading_chart: ^0.1.2
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:trading_chart/chart_style.dart';
import 'package:trading_chart/depth_chart.dart';
import 'package:trading_chart/entity/candle_entity.dart';
import 'package:trading_chart/entity/depth_entity.dart';
import 'package:trading_chart/entity/info_window_entity.dart';
import 'package:trading_chart/entity/k_entity.dart';
import 'package:trading_chart/entity/k_line_entity.dart';
import 'package:trading_chart/entity/kdj_entity.dart';
import 'package:trading_chart/entity/macd_entity.dart';
import 'package:trading_chart/entity/rsi_entity.dart';
import 'package:trading_chart/entity/rw_entity.dart';
import 'package:trading_chart/entity/volume_entity.dart';
import 'package:trading_chart/flutter_k_chart.dart';
import 'package:trading_chart/formatter.dart';
import 'package:trading_chart/k_chart_widget.dart';
import 'package:trading_chart/renderer/base_chart_painter.dart';
import 'package:trading_chart/renderer/base_chart_renderer.dart';
import 'package:trading_chart/renderer/chart_painter.dart';
import 'package:trading_chart/renderer/main_renderer.dart';
import 'package:trading_chart/renderer/secondary_renderer.dart';
import 'package:trading_chart/renderer/vol_renderer.dart';
import 'package:trading_chart/utils/data_util.dart';
import 'package:trading_chart/utils/date_format_util.dart';
import 'package:trading_chart/utils/number_util.dart';
import 'package:trading_chart/utils/render_util.dart';