From 9175eee614f10976fa572052f4a4aa342bef6c10 Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Sat, 8 Apr 2023 13:55:46 +0530 Subject: [PATCH] Formatting and changelog mods --- CHANGELOG.md | 2 +- lib/modal_progress_hud_nsn_method_channel.dart | 3 ++- lib/modal_progress_hud_nsn_platform_interface.dart | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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. ///