mgs_connectivity_check 1.2.5 copy "mgs_connectivity_check: ^1.2.5" to clipboard
mgs_connectivity_check: ^1.2.5 copied to clipboard

A customizable Flutter connectivity checker with internet validation and automatic no-internet dialog support.

1.2.5 #

Fixed #

  • iOS — Close App button (enableCloseAppButton): SystemNavigator.pop() is a no-op on iOS (Apple prohibits programmatic app exit). The button is now automatically hidden on iOS. No code changes needed — it simply won't appear on iOS devices.
  • iOS — Open Settings button (enableOpenSettingsButton): AppSettingsType.wireless is not supported on iOS. The button now opens AppSettingsType.settings (the app's own Settings page) on iOS/desktop/web, and still opens Wi-Fi settings (AppSettingsType.wireless) on Android.

Changed #

  • Open Settings button now uses ElevatedButton (same widget and style as the Retry button) instead of OutlinedButton. Existing openSettingsButtonColor, openSettingsButtonTextStyle, buttonHeight, buttonElevation, and buttonBorderRadius options all continue to work — no implementation changes required.
  • Close App button now respects buttonElevation and buttonBorderRadius, consistent with the Retry button style.
  • Close App button on desktop (Windows/Linux/macOS) now uses exit(0) instead of SystemNavigator.pop() for proper process termination.

Migration #

No breaking changes. All existing MgsDialogStyle and MgsBackOnlineStyle properties are unchanged. Upgrading requires no code modifications.


1.2.4 #

Updated #

  • Documentation
  • Screenshots of Default Dialog and Snackbar in pub.dev gallary
4
likes
160
points
449
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter connectivity checker with internet validation and automatic no-internet dialog support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

app_settings, connectivity_plus, flutter

More

Packages that depend on mgs_connectivity_check