Skip to content

Commit 4f83aa1

Browse files
committed
chore: Update df_pod dependency to version 0.9.1
1 parent 4da46e0 commit 4f83aa1

File tree

10 files changed

+30
-36
lines changed

10 files changed

+30
-36
lines changed

.github/scripts/update_changelog.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
// source code is governed by an MIT-style license that can be found in the
6-
// LICENSE file.
5+
// source code is governed by an an MIT-style license that can be found in the
6+
// LICENSE file located in this project's root directory.
77
//
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~

.github/workflows/prepare.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
44
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
## source code is governed by an MIT-style license that can be found in the
6-
## LICENSE file.
5+
## source code is governed by an an MIT-style license that can be found in the
6+
## LICENSE file located in this project's root directory.
77
##
8-
## For more about publishing, see: https://dart.dev/tools/pub/automated-publishing
8+
## A workflow that publishes a Dart package to pub.dev. For more about
9+
## publishing, see: https://dart.dev/tools/pub/automated-publishing
910
##
1011
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
1112
##.title~

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
44
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
## source code is governed by an MIT-style license that can be found in the
6-
## LICENSE file.
5+
## source code is governed by an an MIT-style license that can be found in the
6+
## LICENSE file located in this project's root directory.
77
##
88
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
##.title~

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DF Scalable
1+
# DF - Scalable
22

33
<a href="https://www.buymeacoffee.com/robmllze" target="_blank"><img align="right" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
44

analysis_options.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
44
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
## source code is governed by an MIT-style license that can be found in the
6-
## LICENSE file.
5+
## source code is governed by an an MIT-style license that can be found in the
6+
## LICENSE file located in this project's root directory.
77
##
88
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
##.title~

lib/df_scalable.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
// source code is governed by an MIT-style license that can be found in the
6-
// LICENSE file.
5+
// source code is governed by an an MIT-style license that can be found in the
6+
// LICENSE file located in this project's root directory.
77
//
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~

lib/src/sc.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
// source code is governed by an MIT-style license that can be found in the
6-
// LICENSE file.
5+
// source code is governed by an an MIT-style license that can be found in the
6+
// LICENSE file located in this project's root directory.
77
//
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~

lib/src/sc_on_num_extension.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
// source code is governed by an MIT-style license that can be found in the
6-
// LICENSE file.
5+
// source code is governed by an an MIT-style license that can be found in the
6+
// LICENSE file located in this project's root directory.
77
//
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~

lib/src/scalable_app.dart

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
// source code is governed by an MIT-style license that can be found in the
6-
// LICENSE file.
5+
// source code is governed by an an MIT-style license that can be found in the
6+
// LICENSE file located in this project's root directory.
77
//
88
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
//.title~
@@ -51,8 +51,8 @@ class ScalableApp extends StatelessWidget {
5151
//
5252
//
5353

54-
static double? _snapshot;
55-
static double? get snapshot => _snapshot;
54+
static TSharedGlobalDoublePod? _pAppScale;
55+
static double? get snapshot => _pAppScale?.value;
5656

5757
//
5858
//
@@ -64,22 +64,15 @@ class ScalableApp extends StatelessWidget {
6464
//
6565
//
6666

67-
static final Future<TSharedGlobalDoublePod> _pAppScale =
68-
SharedDoublePodCreator.global(_KEY).then(
69-
(e) => e
70-
..addListener(
71-
() {
72-
_snapshot = e.value;
73-
},
74-
),
75-
);
67+
static final Future<TSharedGlobalDoublePod> _pFutureAppScale =
68+
SharedDoublePodCreator.global(_KEY).then((e) => _pAppScale = e);
7669

7770
//
7871
//
7972
//
8073

8174
static Future<void> set(double value) async {
82-
final e = await _pAppScale;
75+
final e = await _pFutureAppScale;
8376
await e.set(value);
8477
}
8578

@@ -88,7 +81,7 @@ class ScalableApp extends StatelessWidget {
8881
//
8982

9083
static Future<double?> get() async {
91-
final e = await _pAppScale;
84+
final e = await _pFutureAppScale;
9285
return e.value;
9386
}
9487

@@ -97,6 +90,6 @@ class ScalableApp extends StatelessWidget {
9790
//
9891

9992
static Future<PodListenable<double?>> get pod async {
100-
return _pAppScale;
93+
return _pFutureAppScale;
10194
}
10295
}

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
44
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
## source code is governed by an MIT-style license that can be found in the
6-
## LICENSE file.
5+
## source code is governed by an an MIT-style license that can be found in the
6+
## LICENSE file located in this project's root directory.
77
##
88
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
99
##.title~
1010

1111
name: df_scalable
1212
description: A package that provides a convenient method to scale your app UI up or down.
13-
version: 0.2.4
13+
version: 0.2.5
1414
repository: https://github.com/robmllze/df_scalable
1515
# homepage: TODO
1616
# documentation: TODO
@@ -33,7 +33,7 @@ environment:
3333
dependencies:
3434
flutter:
3535
sdk: flutter
36-
df_pod: ^0.7.0
36+
df_pod: ^0.9.1
3737

3838
## -----------------------------------------------------------------------------
3939

0 commit comments

Comments
 (0)