Skip to content

Commit 90c3198

Browse files
committed
+Update dependencies
1 parent 29ef392 commit 90c3198

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
<a href="https://www.buymeacoffee.com/dev_cetera" target="_blank"><img align="right" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" height="48"></a>
2-
<a href="https://discord.gg/gEQ8y2nfyX" target="_blank"><img align="right" src="https://raw.githubusercontent.com/dev-cetera/.github/refs/heads/main/assets/icons/discord_icon/discord_icon.svg" height="48"></a>
1+
[![banner](https://github.com/dev-cetera/df_screen/blob/v0.8.10/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)
32

4-
Dart & Flutter Packages by dev-cetera.com & contributors.
5-
6-
[![sponsor](https://img.shields.io/badge/sponsor-grey?logo=github-sponsors)](https://github.com/sponsors/dev-cetera)
7-
[![patreon](https://img.shields.io/badge/patreon-grey?logo=patreon)](https://www.patreon.com/c/RobertMollentze)
83
[![pub](https://img.shields.io/pub/v/df_screen.svg)](https://pub.dev/packages/df_screen)
9-
[![tag](https://img.shields.io/badge/tag-v0.8.10-purple?logo=github)](https://github.com/dev-cetera/df_screen/tree/v0.8.10)
10-
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_screen/main/LICENSE)
4+
[![tag](https://img.shields.io/badge/Tag-v0.8.10-purple?logo=github)](https://github.com/dev-cetera/df_screen/tree/v0.8.10)
5+
[![buymeacoffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/dev_cetera)
6+
[![sponsor](https://img.shields.io/badge/Sponsor-grey?logo=github-sponsors&logoColor=pink)](https://github.com/sponsors/dev-cetera)
7+
[![patreon](https://img.shields.io/badge/Patreon-grey?logo=patreon)](https://www.patreon.com/t0mb3rr)
8+
[![discord](https://img.shields.io/badge/Discord-5865F2?logo=discord&logoColor=white)](https://discord.gg/gEQ8y2nfyX)
9+
[![instagram](https://img.shields.io/badge/Instagram-E4405F?logo=instagram&logoColor=white)](https://www.instagram.com/dev_cetera/)
10+
[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_screen/main/LICENSE)
1111

1212
---
1313

14-
[![banner](https://github.com/dev-cetera/df_safer_dart/blob/v0.8.10/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)
15-
1614
<!-- BEGIN _README_CONTENT -->
1715

1816
## Summary
@@ -23,7 +21,7 @@ A package that provides a useful screen widget andcontroller for Flutter apps.
2321

2422
---
2523

26-
☝️ Please refer to the [API reference](https://pub.dev/documentation/df_screen/) for more information.
24+
🔍 For more information, refer to the [API reference](https://pub.dev/documentation/df_screen/).
2725

2826
---
2927

@@ -33,7 +31,6 @@ This is an open-source project, and we warmly welcome contributions from everyon
3331

3432
### ☝️ Ways you can contribute
3533

36-
- **Buy me a coffee:** If you'd like to support the project financially, consider [buying me a coffee](https://www.buymeacoffee.com/dev_cetera). Your support helps cover the costs of development and keeps the project growing.
3734
- **Find us on Discord:** Feel free to ask questions and engage with the community here: https://discord.gg/gEQ8y2nfyX.
3835
- **Share your ideas:** Every perspective matters, and your ideas can spark innovation.
3936
- **Help others:** Engage with other users by offering advice, solutions, or troubleshooting assistance.
@@ -50,7 +47,7 @@ If you're enjoying this package and find it valuable, consider showing your appr
5047

5148
<a href="https://www.buymeacoffee.com/dev_cetera" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" height="40"></a>
5249

53-
## 🧑‍⚖️ License
50+
## LICENSE
5451

5552
This project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_screen/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_screen/main/LICENSE) for more information.
5653

example/pubspec.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: adaptive_screen_example
22
homepage: https://dev-cetera.com/
33
repository: https://github.com/robmllze/df_screen
44
funding:
5+
- https://www.patreon.com/c/t0mb3rr
6+
- https://github.com/sponsors/t0mb3rr
57
- https://www.buymeacoffee.com/dev_cetera
6-
- https://www.patreon.com/c/RobertMollentze
7-
- https://github.com/sponsors/robmllze
8-
publish_to: 'none'
8+
9+
10+
publish_to: none
911

1012
environment:
1113
sdk: ">=3.5.0 <4.0.0"

lib/src/screen_state.dart

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import '../df_screen.dart';
2222

2323
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
2424

25-
abstract base class ScreenState<TScreen extends Screen, TController extends ScreenController>
26-
extends State<TScreen> {
25+
abstract base class ScreenState<TScreen extends Screen,
26+
TController extends ScreenController> extends State<TScreen> {
2727
//
2828
//
2929
//
@@ -35,15 +35,15 @@ abstract base class ScreenState<TScreen extends Screen, TController extends Scre
3535

3636
@override
3737
void initState() {
38-
this._initController();
38+
_initController();
3939
super.initState();
4040
}
4141

4242
void _initController() {
4343
final key = widget.key;
4444
// If the key is null, just create a new currentcontroller.
4545
if (key == null) {
46-
this.c = this._createController();
46+
c = _createController();
4747
} else
4848
// If the key is not null, only create a newcontroller if one for the key
4949
// does not already exist.
@@ -52,14 +52,14 @@ abstract base class ScreenState<TScreen extends Screen, TController extends Scre
5252
if (_controllerCache[key] == null) {
5353
final controllerTimeout = widget.controllerTimeout;
5454
_controllerCache[key] = _ControllerCache(
55-
controller: this._createController(),
55+
controller: _createController(),
5656
// If a timeout is specified, set up a debouncer to dispose of the
5757
//Controller once the screen is disposed and after the timeout.
5858
debouncer: controllerTimeout != null
5959
? Debouncer(
6060
delay: controllerTimeout,
6161
onWaited: () {
62-
this.c.dispose();
62+
c.dispose();
6363
_controllerCache.remove(widget.key);
6464
},
6565
)
@@ -71,13 +71,14 @@ abstract base class ScreenState<TScreen extends Screen, TController extends Scre
7171
_controllerCache[key]?.debouncer?.cancel();
7272
}
7373
// Assign the currentcontroller from the cache.
74-
this.c = _controllerCache[key]?.controller as TController;
74+
c = _controllerCache[key]?.controller as TController;
7575
}
7676
}
7777

7878
/// Creates a new instance of [TController] from the current widget.
7979
TController _createController() {
80-
return (widget.createController(widget, this)..initController()) as TController;
80+
return (widget.createController(widget, this)..initController())
81+
as TController;
8182
}
8283

8384
/// Stores all activecontrollers.

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ name: df_screen
1515
homepage: https://dev-cetera.com/
1616
repository: https://github.com/robmllze/df_screen
1717
funding:
18+
- https://www.patreon.com/c/t0mb3rr
19+
- https://github.com/sponsors/t0mb3rr
1820
- https://www.buymeacoffee.com/dev_cetera
19-
- https://www.patreon.com/c/RobertMollentze
20-
- https://github.com/sponsors/robmllze
2121
description: A package that provides a useful screen widget and controller for Flutter apps.
22-
version: 0.8.10
22+
version: 0.8.11
2323
topics:
2424
- user-interface
2525
- widgets
@@ -48,7 +48,7 @@ dependencies:
4848
df_scalable: ^0.9.6
4949
df_screen_core: ^0.5.5
5050
df_type: ^0.14.2
51-
df_router: ^0.4.12
51+
df_router: ^0.5.0
5252
device_info_plus: ^11.5.0
5353
meta: ^1.16.0
5454

0 commit comments

Comments
 (0)