Skip to content

Commit 7ca8e3f

Browse files
committed
🎉 Release based_split_view v1.2.3 🎉
1 parent a7a4743 commit 7ca8e3f

3 files changed

Lines changed: 27 additions & 23 deletions

File tree

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,61 @@
1+
## 1.2.3
2+
3+
- 🔧 Fix Issue Caused by 1.2.1
4+
15
## 1.2.2
26

3-
🔧Drop 1.2.1 Changes
7+
- 🔧 Drop 1.2.1 Changes
48

59
## 1.2.1
610

7-
📖Update README.md to fix broken links
8-
🔧Use `canPop` of `Page` instead `onPopPage` method in `Navigator`
9-
🔧Use `onPopWithResult` instead `onPop` in `NavigatorPopHandler`
11+
- 📖 Update README.md to fix broken links
12+
- 🔧 Use `canPop` of `Page` instead `onPopPage` method in `Navigator`
13+
- 🔧 Use `onPopWithResult` instead `onPop` in `NavigatorPopHandler`
1014

1115
## 1.2.0
1216

13-
⚠️Now `breakPoint` is deprecated
14-
🌍Add width adjustment [#1](https://github.com/Cierra-Runis/based_flutter/issues/1)
17+
- ⚠️ Now `breakPoint` is deprecated
18+
- 🌍 Add width adjustment [#1](https://github.com/Cierra-Runis/based_flutter/issues/1)
1519

1620
## 1.1.0
1721

18-
⚠️Now `leftWidget` required a `key` for keep its state
19-
⚠️Now `navigatorKey` is `required`
22+
- ⚠️ Now `leftWidget` required a `key` for keep its state
23+
- ⚠️ Now `navigatorKey` is `required`
2024

2125
## 1.0.7
2226

23-
📖Rename `BasedSplitViewPlaceholder` to `_BasedSplitViewPlaceholder`
24-
📖Remove `leftWidgetKey`
25-
📖Now divider only show when `dividerWidth > 0`
26-
🔧Fix `ScaffoldMessenger`
27+
- 📖 Rename `BasedSplitViewPlaceholder` to `_BasedSplitViewPlaceholder`
28+
- 📖 Remove `leftWidgetKey`
29+
- 📖 Now divider only show when `dividerWidth > 0`
30+
- 🔧 Fix `ScaffoldMessenger`
2731

2832
## 1.0.6
2933

30-
📖Use `CupertinoPage` now
34+
- 📖 Use `CupertinoPage` now
3135

3236
## 1.0.5
3337

34-
🔧Use `NavigatorPopHandler` instead `WillPopScope`
38+
- 🔧 Use `NavigatorPopHandler` instead `WillPopScope`
3539

3640
## 1.0.4
3741

38-
😵‍💫Weird behavior
42+
### 😵‍💫 Weird behavior
3943

4044
When there's page in ipad's right view, by clicking the back button at demo's right view, it pops ipad's right view, but not demo's right view, only when ipad's right view has not more page it pops demo's right view.
4145

4246
## 1.0.3
4347

44-
🔧Fix can't pop BasedSplitView when it has pages
48+
- 🔧 Fix can't pop BasedSplitView when it has pages
4549

4650
## 1.0.2
4751

48-
🔧Add \_leftWidgetKey to save state
49-
50-
Refer to <https://github.com/Cierra-Runis/chat_life/commit/983d8fd89dd78f1b14ec617d62c73cf3bfae0acb>
52+
- 🔧 Add \_leftWidgetKey to save state
53+
Refer to <https://github.com/Cierra-Runis/chat_life/commit/983d8fd89dd78f1b14ec617d62c73cf3bfae0acb>
5154

5255
## 1.0.1
5356

54-
📖Update repo link
57+
- 📖 Update repo link
5558

5659
## 1.0.0
5760

58-
🌞First Publish🌞
61+
- 🌞 First Publish 🌞

packages/based_split_view/lib/src/based_split_view.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ class _BasedSplitViewState extends State<BasedSplitView> {
9999
@override
100100
Widget build(BuildContext context) {
101101
return NavigatorPopHandler(
102-
onPopWithResult: widget.navigatorKey.currentState?.maybePop,
102+
onPopWithResult: (result) async =>
103+
await widget.navigatorKey.currentState?.maybePop(result),
103104
child: LayoutBuilder(
104105
builder: (context, constraints) {
105106
final singleView = constraints.maxWidth <= widget.breakPoint;

packages/based_split_view/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: based_split_view
22
description: A Based Split View Widget, Which Helps You Create A Split View In Large Screen Device like Telegram, QQ or Discord
3-
version: 1.2.1
3+
version: 1.2.3
44
homepage: https://github.com/Cierra-Runis/based_flutter/tree/master/packages/based_split_view
55

66
environment:

0 commit comments

Comments
 (0)