Skip to content
pubscout

flexi_kline

2.7.2, released 9 days ago by an unverified publisher

A flexible Flutter candlestick chart framework for stock and crypto markets.

$ flutter pub add flexi_kline
Source repository

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.

  • syncfusion_flutter_charts

    Pick syncfusion_flutter_charts if you want a commercially supported, feature-rich charting library with built-in financial chart types.

Works with

Packages commonly used together with flexi_kline: ones it builds on, ones built on it, and its own family.