You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,27 @@
6
6
- feat: Added `WindowsIcon` and `WindowsIcons` ([#1237](https://github.com/bdlukaa/fluent_ui/pull/1237))
7
7
- fix: `Slider` label on drag ([#1248](https://github.com/bdlukaa/fluent_ui/issues/1248))
8
8
- fix: `closeAfterClick` at the item level is no longer ignored on `DropDownButton` ([#1245](https://github.com/bdlukaa/fluent_ui/issues/1245))
9
+
-**MINOR BREAKING** feat: `FlyoutController.close` can now return a value to the previous route. ([#1246](https://github.com/bdlukaa/fluent_ui/issues/1246))
10
+
Before:
11
+
12
+
```dart
13
+
// normally close the flyout
14
+
flyoutController.close();
9
15
16
+
// forcefully close the flyout
17
+
flyoutController.close(true);
18
+
```
19
+
20
+
After:
21
+
22
+
```dart
23
+
// normally close the flyout
24
+
final result = flyoutController.close<String>('my result');
0 commit comments