Skip to content

Commit b5718c4

Browse files
committed
+chore: Rename pScalable to pScale for clarity
1 parent 1902138 commit b5718c4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

lib/src/scalable.dart

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
import 'dart:async' show FutureOr;
1414
import 'package:df_di/df_di.dart' show DI;
15-
import 'package:df_pod/df_pod.dart'
16-
show SharedDoublePodCreator, TSharedGlobalDoublePod;
15+
import 'package:df_pod/df_pod.dart' show SharedDoublePodCreator, TSharedGlobalDoublePod;
1716
import 'package:flutter/foundation.dart' show protected;
1817

1918
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
@@ -22,9 +21,8 @@ final class Scalable {
2221
Scalable._();
2322
@protected
2423
static final di = DI();
25-
static final Future<TSharedGlobalDoublePod> _pValue =
24+
static final Future<TSharedGlobalDoublePod> _pScale =
2625
SharedDoublePodCreator.global('<AppScale.pValue>')
27-
.then((e) => di.register<TSharedGlobalDoublePod>(_pValue));
28-
static FutureOr<TSharedGlobalDoublePod> get pScalable =>
29-
di.until<TSharedGlobalDoublePod>();
26+
.then((e) => di.register<TSharedGlobalDoublePod>(_pScale));
27+
static FutureOr<TSharedGlobalDoublePod> get pScale => di.until<TSharedGlobalDoublePod>();
3028
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
name: df_scalable
1414
description: A package that provides a convenient method to scale your app UI up or down.
15-
version: 0.4.0
15+
version: 0.5.0
1616
repository: https://github.com/robmllze/df_scalable
1717
funding:
1818
- https://www.buymeacoffee.com/robmllze

0 commit comments

Comments
 (0)