DEV Community

Cover image for πŸ“Š Two Weeks In: How My First Flutter Chart Package Is Performing on pub.dev πŸš€
Rahul Prajapati
Rahul Prajapati

Posted on

πŸ“Š Two Weeks In: How My First Flutter Chart Package Is Performing on pub.dev πŸš€

A couple of weeks ago, I published my first Flutter package on pub.dev:

πŸ‘‰ imp_trading_chart

It wasn’t just β€œanother package release” β€” it was the result of 2 weeks of continuous brainstorming, refactoring, learning Flutter internals, and performance tuning.

Now that the package has been live for some time, I wanted to share:

  • πŸ“ˆ How it’s performing
  • 🧠 What I learned
  • 🀝 Where I need community help next

πŸ“¦ Package Performance (Early Stage)

For a first public package, the response has been honestly motivating:

  • πŸ“₯ Steady downloads on pub.dev
  • ⭐ GitHub stars & watchers starting to grow
  • πŸ’¬ Feedback and curiosity from Flutter devs interested in:
    • CustomPainter
    • Rendering performance
    • Trading / FinTech UIs

This validated one thing for me πŸ‘‡
People do care about performance-first Flutter solutions.

🧠 What I Learned Building This

This package taught me more than any tutorial or course ever could.

Key takeaways:

  • πŸ”₯ CustomPainter is insanely powerful when used correctly
  • 🧩 Widget-per-candle is a performance trap for large datasets
  • 🧠 Viewport-based rendering = massive performance wins
  • βš™οΈ Engine-first design makes future features easier, not harder
  • πŸ› Profiling & fixing jank teaches you real Flutter

Most importantly:
Writing something others can use forces you to write better code.


⚑ What the Package Does (Quick Recap)

imp_trading_chart is a high-performance trading chart engine for Flutter, inspired by TradingView Lightweight Charts.

Core highlights:

  • ⚑ CustomPainter-based rendering (no widget-heavy charts)
  • 🧠 Viewport-driven drawing (only visible candles rendered)
  • πŸ“Š Handles 10k+ candles smoothly
  • πŸ”„ Optimized for real-time price updates
  • βœ‹ Smooth pan & zoom interactions
  • 🧩 Clean architecture: Data β†’ Engine β†’ Rendering
  • 🎨 Multiple variants: Trading, Simple, Compact, Minimal

Built for FinTech, Crypto, and Trading apps where performance actually matters.


πŸ™Œ Open Source = Open for Contribution

I’m now actively preparing the next version to make the project more contribution-friendly.

I’d love help with:

  • πŸ“ˆ Indicators (MA, EMA, VWAP, RSI, etc.)
  • πŸŽ›οΈ Public controller APIs
  • πŸ§ͺ Stress testing & edge cases
  • πŸ“š Docs, examples, and feedback
  • πŸ’‘ Architectural suggestions

If you enjoy:

  • Flutter internals
  • Rendering pipelines
  • Performance optimization
  • Charting or trading UIs

πŸ‘‰ You’ll feel right at home here.


πŸ”— Links

If you find it useful:

  • ⭐ Star the repo
  • πŸ§ͺ Try it out
  • πŸ’¬ Open an issue
  • πŸ”€ Submit a PR

Top comments (0)