diff --git a/lib/src/scalable.dart b/lib/src/scalable.dart index b81dd2b..4115044 100644 --- a/lib/src/scalable.dart +++ b/lib/src/scalable.dart @@ -12,8 +12,7 @@ import 'dart:async' show FutureOr; import 'package:df_di/df_di.dart' show DI; -import 'package:df_pod/df_pod.dart' - show SharedDoublePodCreator, TSharedGlobalDoublePod; +import 'package:df_pod/df_pod.dart' show SharedDoublePodCreator, TSharedGlobalDoublePod; import 'package:flutter/foundation.dart' show protected; // ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ @@ -22,9 +21,8 @@ final class Scalable { Scalable._(); @protected static final di = DI(); - static final Future _pValue = + static final Future _pScale = SharedDoublePodCreator.global('') - .then((e) => di.register(_pValue)); - static FutureOr get pScalable => - di.until(); + .then((e) => di.register(_pScale)); + static FutureOr get pScale => di.until(); } diff --git a/pubspec.yaml b/pubspec.yaml index 41e75b3..e0f8f5e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,7 @@ name: df_scalable description: A package that provides a convenient method to scale your app UI up or down. -version: 0.4.0 +version: 0.5.0 repository: https://github.com/robmllze/df_scalable funding: - https://www.buymeacoffee.com/robmllze