Skip to main content

flexi_kline_draw_tools 2.6.0 copy "flexi_kline_draw_tools: ^2.6.0" to clipboard
flexi_kline_draw_tools: ^2.6.0 copied to clipboard

Drawing tools for flexi_kline charts, including trend lines, Fibonacci retracements, parallel channels and more.

2.6.0 #

  • Raise minimum SDK to Dart 3.11 / Flutter 3.41 to match flexi_kline 2.6.0 (Breaking Changes).
  • Align the version with flexi_kline 2.6.0: during v2 the major.minor tracks the minimum required flexi_kline major.minor, and own changes bump the patch.
  • Raise the flexi_kline constraint to ^2.6.0 for the painting layer.
  • Paint fibonacci, fib fans, price line and trend angle labels with cached LabelPainters: labels are re-laid out only when their value changes, and are now placed by measured height instead of TextAreaConfig.areaHeight (may shift by up to 1px).
  • Reuse one fill Paint for fibonacci level backgrounds instead of allocating one per level per frame.

2.0.1 #

  • Raise minimum SDK to Dart 3.9 / Flutter 3.35; bump json_annotation to ^4.12.0.
  • Align analysis_options.yaml with the core flexi_kline package.
  • Regenerate .g.dart files with json_serializable 6.14.1 (null-aware elements syntax).
  • Apply dart format tall style.

2.0.0 #

First release to pub.dev. The major version is aligned with flexi_kline; prior 0.x / 1.x versions were never published.

Breaking changes (relative to internal 1.0.1)

  • ParalleChannel → ParallelChannel: Fix typo — class names ParalleChannelDrawObject / ParalleChannelDrawParam, field paralleBgOpacity, and file name paralle_channel.dart are all corrected to Parallel.
  • drawObjectbuilders → drawObjectBuilders: Rename the top-level variable (capital B) and wrap it with Map.unmodifiable to prevent external mutation.
  • Unified config entry DrawToolsConfig: The static drawParam fields on 7 DrawObject subclasses are now read-only getters backed by DrawToolsConfig. Use DrawToolsConfig.configure() to customise any tool's parameters in one call. DrawToolsConfig.resetAll() is provided for test isolation.
  • FibRetracementDrawObject is now independent: No longer extends FibExpansionDrawObject; it has its own drawParam instance. Use DrawToolsConfig.configure(fibRetracement: ...) to customise retracement separately from expansion.
  • Remove hard-coded debug colours: Default values of PriceLineDrawParam.priceText and TrendAngleDrawParam.angleText changed from hard-coded red to null, falling back to the core DrawConfig.ticksText theme colour.

Other changes

  • pubspec: Point repository / issue_tracker to the main repo FlexiKline/FlexiKline; widen copy_with_extension upper bound to <18.0.0 (covers 17.1.0).
  • dartdoc: Convert all 18 draw-type constants in common.dart from // to ///; add doc comments to public API.
  • lint: Switch to package:flutter_lints/flutter.yaml and align rules with the core package; remove redundant lints dev dependency.

1.0.1 #

  • Fix horizontalTrendLine and horizontalRayLine being stuck at their original price: aligning both points to points.first.dy made the first point align to itself, so neither dragging it nor translating the whole line could change dy.
  • Fix extendedTrendLine drawing its line as a back-and-forth polygon, which broke dash phase and darkened translucent colors; it now draws one straight segment via clipLineToRect.
  • Fix a division by zero in the fibonacci tools when the palette (fibColors / fibFansColors) and the line colour are both unset; colour resolution now falls back to the theme via resolveFibColors.
  • Add the first test suite for the package (draw geometry, hit testing, move semantics, colour fallback).

1.0.0 #

  • Adapts flexi_kline 1.2.0

0.9.0 #

  • Adapts flexi_kline 0.9.0 new version

0.8.0 #

  • Migrate the drawing tool to the new library
0
likes
150
points
296
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Drawing tools for flexi_kline charts, including trend lines, Fibonacci retracements, parallel channels and more.

Homepage
Repository (GitHub)
View/report issues

Topics

#chart #kline #draw-tools #flexi-kline

License

Apache-2.0 (license)

Dependencies

copy_with_extension, equatable, flexi_kline, flutter, json_annotation

More

Packages that depend on flexi_kline_draw_tools