Skip to content

Commit

Permalink
Update changelog for version 2.4.1; fix HighChartPlatformInterface re…
Browse files Browse the repository at this point in the history
…gistration and improve UI for unsupported platforms
  • Loading branch information
senthilnasa committed Jan 7, 2025
1 parent dcdf0ad commit f9eb6bd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [2.4.1] - 2025-01-07
- [Fixed] Issue with the web HighChartPlatformInterface not being registered

## [2.4.0] - 2025-01-07
- [Support] Added support for macos
- [Support] Added support for local file script
Expand Down
2 changes: 0 additions & 2 deletions lib/high_chart_web.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';

Expand Down
4 changes: 3 additions & 1 deletion lib/src/io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ class HighChartsState extends State<HighCharts> {
return SizedBox(
height: widget.size.height,
width: widget.size.width,
child: const Text('Unsupported Platform'),
child: Center(
child: const Text('Unsupported Platform'),
),
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ flutter:
windows:
pluginClass: HighChartPluginCApi
web:
pluginClass: HighChartWeb
pluginClass: HighChartPlatformInterface
fileName: high_chart_web.dart

0 comments on commit f9eb6bd

Please sign in to comment.