floscilloscope 1.1.3
floscilloscope: ^1.1.3 copied to clipboard
An oscilloscope widget featuring dynamic chart rendering, threshold manipulation, zoom/pan, customizable axes, multi-data series, and interactive threshold sliders.
0.0.1 #
- Initial release.
1.0.0 #
- Updated README file to describe the package further.
- Added support for multiple datasets.
- Added a threshold slider.
- Added support for the fl_chart and syncfusion_flutter_charts.
1.0.1 #
- Updated the dependencies.
- Added some more comments.
1.0.2 #
- Changed the description of the package.
- Added the changelog text for more points.
1.0.3 #
- Updated the dependencies.
1.0.4 #
- The alternative oscilloscope does not use FlSpot from fl_chart anymore, but a custom OscilloscopePoint class.
- Added test cases.
- Added more comments and documentation.
1.0.5 #
- Fixed some formatting issues in the code.
1.0.6 #
- Bug fixes
1.1.0 #
- Added RTL layout support by forcing LTR directionality on chart and slider rows in both SimpleOscilloscope and AlternativeSimpleOscilloscope.
1.1.1 #
- Fixed threshold dialog text field displaying negative values incorrectly in RTL locales.
1.1.3 #
- Threshold is now parent-controlled when no
onThresholdValueChangedcallback is supplied. InSimpleOscilloscopeandAlternativeSimpleOscilloscope, finishing a threshold slider drag or submitting the threshold dialog without a callback now reverts the internal threshold to thethresholdprop instead of silently committing the dragged value and desyncing from the source of truth. ProvideonThresholdValueChangedto make threshold changes persistent. - Exposed
SimpleOscilloscopeStatepublicly (matchingAlternativeSimpleOscilloscopeState) with a@visibleForTesting currentThresholdValuegetter/setter so the threshold state can be asserted in tests.
1.1.2 #
- Fixed stale trailing points remaining on the
AlternativeSimpleOscilloscopechart when a series is replaced with a shorter list. Data updates are now pushed throughChartSeriesController.updateDataSource, which also avoids a fullSfCartesianChartrebuild on data-only changes. - Added
AlternativeSimpleOscilloscopeState.clearData()to immediately clear all rendered data, and exposed the state class publicly so it can be reached through aGlobalKey. - Upgraded the Syncfusion dependencies (
syncfusion_flutter_charts,syncfusion_flutter_core,syncfusion_flutter_sliders) from^33.2.3to^34.1.33in both the package and the example app. - Fixed stale data persisting on
AlternativeSimpleOscilloscopeafter the number of series changes. Surviving series now get a generation-keyed rebuild so theirChartSeriesControlleris recaptured (otherwiseupdateDataSourcewas silently skipped and stale points remained). - Fixed a threshold drag being reverted on every data-tick rebuild in both
SimpleOscilloscopeandAlternativeSimpleOscilloscope. Threshold change detection now compares the previous vs new widget instead of state vs widget. - Wrapped the
AlternativeSimpleOscilloscopechart in aRepaintBoundaryfor streaming paint isolation. - Added a streaming (timer-driven) example that exercises the real-time update path of both oscilloscopes.
- Cleanup: removed a dead
identical()guard, switched to plainGlobalKeytypes, re-measure slider padding when axis config changes, reuse an index buffer for data updates, and useObject.hashforOscilloscopePoint.hashCode. - BREAKING (minor): made
calculateZoomedMin/calculateZoomedMaxprivate (they were undocumented internal helpers).