Skip to content

Commit 50a2c27

Browse files
ci: bump version to v0.4.14
1 parent 6432880 commit 50a2c27

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.4.14]
4+
5+
- Released @ 6/2025 (UTC)
6+
- Update dependencies
7+
38
## [0.4.13]
49

510
- Released @ 6/2025 (UTC)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Dart & Flutter Packages by dev-cetera.com & contributors.
66
[![sponsor](https://img.shields.io/badge/sponsor-grey?logo=github-sponsors)](https://github.com/sponsors/dev-cetera)
77
[![patreon](https://img.shields.io/badge/patreon-grey?logo=patreon)](https://www.patreon.com/c/RobertMollentze)
88
[![pub](https://img.shields.io/pub/v/df_router.svg)](https://pub.dev/packages/df_router)
9-
[![tag](https://img.shields.io/badge/tag-v0.4.13-purple?logo=github)](https://github.com/dev-cetera/df_router/tree/v0.4.13)
9+
[![tag](https://img.shields.io/badge/tag-v0.4.14-purple?logo=github)](https://github.com/dev-cetera/df_router/tree/v0.4.14)
1010
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_router/main/LICENSE)
1111

1212
---

lib/src/route_builder.dart

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ class RouteBuilder<TExtra extends Object?> {
4343
shouldPreserve: shouldPreserve ?? this.shouldPreserve,
4444
shouldPrebuild: shouldPrebuild ?? this.shouldPrebuild,
4545
builder:
46-
builder ?? (context, state) => this.builder(context, state) as RouteWidgetMixin<TExtra>,
46+
builder ??
47+
(context, state) =>
48+
this.builder(context, state) as RouteWidgetMixin<TExtra>,
4749
condition: condition ?? this.condition,
4850
);
4951
}
@@ -57,7 +59,8 @@ class RouteBuilder<TExtra extends Object?> {
5759
routeState: this.routeState,
5860
shouldPreserve: shouldPreserve ? false : this.shouldPreserve,
5961
shouldPrebuild: shouldPrebuild ? false : this.shouldPrebuild,
60-
builder: (context, state) => this.builder(context, state) as RouteWidgetMixin<TExtra>,
62+
builder: (context, state) =>
63+
this.builder(context, state) as RouteWidgetMixin<TExtra>,
6164
condition: condition ? null : this.condition,
6265
);
6366
}
@@ -67,7 +70,8 @@ class RouteBuilder<TExtra extends Object?> {
6770

6871
typedef TRouteConditionFn = bool Function();
6972

70-
typedef TRouteWidgetBuilder<TExtra extends Object?> = RouteWidgetMixin<TExtra> Function(
71-
BuildContext context,
72-
RouteState<TExtra?> routeState,
73-
);
73+
typedef TRouteWidgetBuilder<TExtra extends Object?> =
74+
RouteWidgetMixin<TExtra> Function(
75+
BuildContext context,
76+
RouteState<TExtra?> routeState,
77+
);

0 commit comments

Comments
 (0)