flexi_kline
2.7.2, released 9 days ago by an unverified publisher
A flexible Flutter candlestick chart framework for stock and crypto markets.
What it does
FlexiKline is a comprehensive candlestick chart framework providing pluggable indicators, drawing tools, custom styles, and gesture handling for financial markets. It supports main and sub panes, computed or direct indicators, and runs across Android, iOS, Web, macOS, Windows, and Linux.
AI-written summary of version 2.7.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build a professional stock or cryptocurrency trading interface in Flutter.
- You require customizable candlestick charts with drawing tools and technical indicators like MA and MACD.
- You need high-performance rendering capable of handling real-time WebSocket price updates.
Skip it when
- You only need basic general-purpose charts like simple line, bar, or pie charts.
- You want a zero-configuration, plug-and-play chart without managing indicator pipelines or configs.
Strengths
- Extensive framework with pluggable indicators, drawing tools, and styles.
- Decoupled calculation and painting layers with strong performance benchmarks.
- Rich gesture support including pan, pinch zoom, crosshair, and price-axis scaling.
Weaknesses
- Requires significant setup and configuration code compared to basic chart packages.
- Steeper learning curve due to the separation of controllers, configurations, and indicators.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 5
Add the dependency to pubspec.yaml and configure Flutter SDK >= 3.41.0.
FlexiKlineWidget(
controller: controller,
candle: CandleIndicator(
showCountdown: true,
),
time: TimeIndicator(
height: 16,
),
mainIndicators: [
MAIndicator(),
],
subIndicators: [
MACDIndicator(),
],
)Alternatives
Packages that do the same job and could replace flexi_kline.
- fl_chart
Pick fl_chart if you need general-purpose, easy-to-use line, bar, and pie charts rather than specialized financial K-line charts.
94Compare - syncfusion_flutter_charts
Pick syncfusion_flutter_charts if you want a commercially supported, feature-rich charting library with built-in financial chart types.
91Compare
Works with
Packages commonly used together with flexi_kline: ones it builds on, ones built on it, and its own family.
- json_annotationflexi_kline depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- equatableflexi_kline depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- decimalflexi_kline depends on itArbitrary-precision decimal arithmetic for Dart
- copy_with_extensionflexi_kline depends on itAnnotation for generating copyWith extensions code using copy_with_extension_gen.