hyperliquid_chart_engine library

Classes

AlertColorConverter
Helper para converter Color via Freezed.
AlertInteractionHandler
Converte eventos de interação (long press) para alertas de preço.
AlertOverlayPainter
Painter para renderizar alertas de preço.
AlertsNotifier
Notifier para gerenciar a lista de alertas persistentes.
AlertStyle
Define o estilo visual de alertas.
AnchorPoint
Representa um ponto ancorado em tempo e preço no gráfico.
AreaPainter
Renders area charts with smooth line + gradient fill below.
ATRCalculator
ATRColorConverter
ATRIndicator
ATRNotifier
Classe responsável pela lógica de estado do indicador ATR.
ATRPanelPainter
ATRValue
AxisRenderer
Renders price (Y) and time (X) axes with labels.
BackfillCompletedEvent
Backfill completed after reconnection.
BarAppendedEvent
A new bar was appended (new period).
BarPainter
Renders OHLC bar charts with vertical line + open/close ticks.
BarPrimitive
Represents a single OHLCV data point in a time series.
BarUpdatedEvent
The last bar was updated (same period tick).
BaseChartPainter
Abstract base class for all chart painters.
BollingerBandsCalculator
Motor para calcular Bollinger Bands.
BollingerBandsColorConverter
Helper para converter Color via Freezed (Bollinger Bands).
BollingerBandsIndicator
Representa o indicador Bollinger Bands.
BollingerBandsNotifier
Notifier para gerenciar estado do Bollinger Bands.
BollingerBandsOverlayPainter
Painter para renderizar overlay Bollinger Bands.
BollingerBandValue
Representa um ponto de dados do Bollinger Bands.
BrickPrimitive
Represents a synthetic brick (Renko, Point & Figure, etc.).
CandlePainter
Renders Japanese candlestick charts.
ChartCanvas
Renders the main chart layers: background/chart + volume.
ChartConfiguration
Global configuration for the chart engine.
ChartDataAdapter
Manages a buffer of BarPrimitive bars, handling historical loading, real-time updates, backfill, and memory eviction.
ChartDataSource
Abstract contract for chart data sources.
ChartOverlay
Foreground overlay painter for crosshair, tooltip, axes, and grid.
ChartScaleConverter
Converts between data coordinates (price/time) and screen coordinates (pixels).
ChartTheme
Visual theme for the chart engine.
ChartViewport
Manages the viewport state and provides scale conversion utilities.
ChartViewportState
Represents the current visible window of the chart.
ChartWidget
The main chart widget for rendering financial chart data.
ColorConverter
Helper para converter Color via Freezed.
CrosshairRenderer
Renders a crosshair (horizontal + vertical dashed lines) at the pointer position.
CullingEngine
Provides viewport culling to skip rendering off-screen elements.
DataAdapterEvent
Events emitted by ChartDataAdapter to notify the chart of data changes.
DataErrorEvent
An error occurred during data operations.
DecimationEngine
Reduces the number of data points while preserving visual shape.
DrawingColorConverter
Helper para converter Color via Freezed.
DrawingInteractionHandler
Converte eventos de interação (pixel coordinates) para data coordinates.
DrawingObject
Representa um objeto de desenho persistente no gráfico.
DrawingsNotifier
Notifier para gerenciar a lista de desenhos persistentes.
DrawingStyle
Define o estilo visual de um objeto de desenho.
EMACalculator
Executa a rotina matemática de Média Móvel Exponencial (EMA).
EMAColorConverter
Helper para converter Color via Freezed.
EMAIndicator
Define o modelo de dados para o indicador EMA (Exponential Moving Average).
EMANotifier
EMAOverlayPainter
GridRenderer
Renders background grid lines (horizontal for price, vertical for time).
HeikinAshiPainter
Renders Heikin Ashi candles — smoothed OHLC data.
HistoricalLoadedEvent
Historical data has been loaded.
KagiLine
KagiPainter
Renders Kagi charts with variable-thickness lines.
LinePainter
Renders smooth line charts connecting close prices.
MACDCalculator
Executa a rotina matemática de MACD (Moving Average Convergence Divergence).
MACDColorConverter
Helper para converter Color via Freezed.
MACDIndicator
Define o modelo de dados para o indicador MACD (Moving Average Convergence Divergence).
MACDNotifier
MACDPanelPainter
MACDValue
Representa um ponto de dados MACD contendo 3 valores alinhados no tempo.
PainterContext
Encapsulates all context needed by painters during a paint cycle.
PanelConfig
PerformanceMonitor
PFColumn
PointFigurePainter
Renders Point & Figure charts (X/O columns).
PriceAlert
Representa um alerta de preço no gráfico.
RenkoConfiguration
Immutable configuration for the Renko chart engine.
RenkoPainter
Renders Renko brick charts with optional ghost bricks.
RSICalculator
Executa a rotina matemática de RSI (Relative Strength Index) usando Wilder's Method.
RSIColorConverter
Helper para converter Color via Freezed.
RSIIndicator
Define o modelo de dados para o indicador RSI (Relative Strength Index).
RSINotifier
RSIPanelPainter
SMACalculator
Executa a rotina matemática de Média Móvel Simples (SMA).
SMAIndicator
Define o modelo de dados para o indicador SMA (Simple Moving Average).
SMANotifier
SMAOverlayPainter
StochasticCalculator
Motor para calcular Stochastic Oscillator.
StochasticColorConverter
Helper para converter Color via Freezed (Stochastic).
StochasticIndicator
Representa o indicador Stochastic Oscillator.
StochasticNotifier
Notifier para gerenciar estado do Stochastic.
StochasticPanelPainter
Painter para renderizar painel Stochastic Oscillator.
StochasticValue
Representa um ponto de dados do Stochastic Oscillator.
TooltipRenderer
Renders a tooltip showing OHLCV data for a hovered/tapped bar.
TrendLinePainter
Painter para renderizar Trend Lines.
VolumeCalculator
VolumeColorConverter
VolumeIndicator
VolumeNotifier
VolumePanelPainter

Enums

AlertCondition
Enum para condições de alerta.
AlertStatus
Enum para status de alerta.
AxisPosition
Position of the Y axis.
BrickDirection
Direction of a Renko/synthetic brick.
ChartType
DrawingToolType
Enum para tipos de ferramentas de desenho disponíveis.
InteractionMode
IntervalType
KagiDirection
PanelType
PFDirection
PriceScaleMode
RenkoBoxAssignmentMethod
Method for calculating Renko brick size.
RenkoSource
Source price used for Renko brick formation.

Extensions

ChartTypeX on ChartType
Extension methods for ChartType.
PriceScaleModeX on PriceScaleMode
Extension methods for PriceScaleMode.

Properties

activeDrawingToolProvider → StateProvider<DrawingToolType>
final
alertsProvider → StateNotifierProvider<AlertsNotifier, List<PriceAlert>>
final
atr14Provider → StateNotifierProvider<ATRNotifier, ATRIndicator?>
Provider reativo para o ATR (Average True Range). Segue o padrão StateNotifier para recálculo otimizado e toggle de visibilidade.
final
barsProvider → StateProvider<List<BarPrimitive>>
final
bollingerBands20Provider → StateNotifierProvider<BollingerBandsNotifier, BollingerBandsIndicator>
final
currentPriceProvider → StateProvider<double?>
final
draftDrawingProvider → StateProvider<DrawingObject?>
final
drawingsProvider → StateNotifierProvider<DrawingsNotifier, List<DrawingObject>>
final
ema200Provider → StateNotifierProvider<EMANotifier, EMAIndicator?>
final
ema20Provider → StateNotifierProvider<EMANotifier, EMAIndicator?>
final
ema50Provider → StateNotifierProvider<EMANotifier, EMAIndicator?>
final
macdProvider → StateNotifierProvider<MACDNotifier, MACDIndicator?>
final
rsi14Provider → StateNotifierProvider<RSINotifier, RSIIndicator?>
final
sma200Provider → StateNotifierProvider<SMANotifier, SMAIndicator?>
final
sma20Provider → StateNotifierProvider<SMANotifier, SMAIndicator?>
final
sma50Provider → StateNotifierProvider<SMANotifier, SMAIndicator?>
final
stochastic14Provider → StateNotifierProvider<StochasticNotifier, StochasticIndicator?>
final
triggeredAlertsProvider → StateProvider<List<PriceAlert>>
final
volumeProvider → StateNotifierProvider<VolumeNotifier, VolumeIndicator>
final

Functions

generateAlertId() String
Helper para gerar IDs únicos para alertas.
generateDrawingId() String
Helper para gerar IDs únicos para desenhos.