diff --git a/CHANGELOG.md b/CHANGELOG.md index 63ba2d5..dacb1fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ - Fixed ![#6](https://github.com/kphanipavan/modal_progress_hud_nsn/issues/6) - Updated to work with Flutter 3.7.9 - +- Added web support ## 0.3.0 diff --git a/lib/modal_progress_hud_nsn_method_channel.dart b/lib/modal_progress_hud_nsn_method_channel.dart index 77793d8..5281eca 100644 --- a/lib/modal_progress_hud_nsn_method_channel.dart +++ b/lib/modal_progress_hud_nsn_method_channel.dart @@ -11,7 +11,8 @@ class MethodChannelModalProgressHudNsn extends ModalProgressHudNsnPlatform { @override Future getPlatformVersion() async { - final version = await methodChannel.invokeMethod('getPlatformVersion'); + final version = + await methodChannel.invokeMethod('getPlatformVersion'); return version; } } diff --git a/lib/modal_progress_hud_nsn_platform_interface.dart b/lib/modal_progress_hud_nsn_platform_interface.dart index 56cd746..8a5de80 100644 --- a/lib/modal_progress_hud_nsn_platform_interface.dart +++ b/lib/modal_progress_hud_nsn_platform_interface.dart @@ -8,7 +8,8 @@ abstract class ModalProgressHudNsnPlatform extends PlatformInterface { static final Object _token = Object(); - static ModalProgressHudNsnPlatform _instance = MethodChannelModalProgressHudNsn(); + static ModalProgressHudNsnPlatform _instance = + MethodChannelModalProgressHudNsn(); /// The default instance of [ModalProgressHudNsnPlatform] to use. ///