From 80484917efa00540a280565bbec050e2ab1ec04a Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Sat, 30 Sep 2023 07:51:16 +0200 Subject: [PATCH] refactor(neon): cleanup AppImplementation Signed-off-by: Nikolas Rimikis --- packages/neon/neon/lib/src/models/app_implementation.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/neon/neon/lib/src/models/app_implementation.dart b/packages/neon/neon/lib/src/models/app_implementation.dart index 6679a187..6f2452c5 100644 --- a/packages/neon/neon/lib/src/models/app_implementation.dart +++ b/packages/neon/neon/lib/src/models/app_implementation.dart @@ -21,11 +21,9 @@ import 'package:vector_graphics/vector_graphics.dart'; @immutable abstract class AppImplementation implements Disposable { - AppImplementation(); - String get id; LocalizationsDelegate get localizationsDelegate; - List get supportedLocales; + Iterable get supportedLocales; String nameFromLocalization(final AppLocalizations localizations) => localizations.appImplementationName(id); String name(final BuildContext context) => nameFromLocalization(AppLocalizations.of(context));