diff --git a/CHANGELOG.md b/CHANGELOG.md index fb626dd..ab62aaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## 4.0.5 * **FEAT:** https://github.com/feduke-nukem/flutter_easy_dialogs/issues/40 +* **FEAT:** Made `FlutterEasyDialogs.controller` public API by removing `@visibleForTesting` annotation ([issue 42](https://github.com/feduke-nukem/flutter_easy_dialogs/issues/42)) + ## 4.0.4 * **FIX:** Fixed https://github.com/feduke-nukem/flutter_easy_dialogs/issues/37 diff --git a/lib/src/flutter_easy_dialogs.dart b/lib/src/flutter_easy_dialogs.dart index 02f9f35..8de1e6b 100644 --- a/lib/src/flutter_easy_dialogs.dart +++ b/lib/src/flutter_easy_dialogs.dart @@ -17,7 +17,6 @@ final class FlutterEasyDialogs extends StatelessWidget { super.key, }); - @visibleForTesting static EasyDialogsController get controller => OverlayProvider.stateKey.currentState!.controller;