candlesticks 1.0.0 copy "candlesticks: ^1.0.0" to clipboard
candlesticks: ^1.0.0 copied to clipboard

outdated

A flutter candlesticks chart for android, ios and the web; It contains optimized animations, indicators (soon) and socket connection ability.

candlesticks #

A flutter candlesticks chart for android, ios and the web; It contains optimized animations, indicators (soon) and socket connection ability.

Gif

Installation #

  1. Add this to your package's pubspec.yaml file:
dependencies:
  candlesticks: ^1.0.0
  1. Get the package using your IDE's GUI or via command line with
$ flutter pub get

Usage #

import 'package:candlesticks/candlesticks.dart';

Candle #

[Candle] class contains six required variables that hold a single candle data: date, high, low, open, close and volume. It can be instantiated using its default constructor or fromJson named custructor.

final candle =  Candle(date: DateTime.now(), open: 1780.36, high: 1873.93, low: 1755.34, close: 1848.56, volume: 0);

Candlesticks #

[Candlesticks] widget requires a list of candles, a list of intervals as [List

Note #

If you want your chart to updates with every price tick, you can use the Binance socket API as provided in the example.

134
likes
0
pub points
87%
popularity

Publisher

verified publisherrmzy.dev

A flutter candlesticks chart for android, ios and the web; It contains optimized animations, indicators (soon) and socket connection ability.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on candlesticks