Skip to content

Commit 176974e

Browse files
Panteclaude
andcommitted
Update decoration
Add onDoubleTap to docs_snippets usages, reorder changelog entries, and update checkbox border radius to xs2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5024c33 commit 176974e

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs_snippets/lib/usages/widgets/item.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ final item = FItem(
1717
actions: null,
1818
// {@endcategory}
1919
// {@category "Callbacks"}
20+
onDoubleTap: () {},
2021
onLongPress: () {},
2122
onSecondaryPress: () {},
2223
onSecondaryLongPress: () {},
@@ -49,6 +50,7 @@ final raw = FItem.raw(
4950
actions: null,
5051
// {@endcategory}
5152
// {@category "Callbacks"}
53+
onDoubleTap: () {},
5254
onLongPress: () {},
5355
onSecondaryPress: () {},
5456
onSecondaryLongPress: () {},

docs_snippets/lib/usages/widgets/tile.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ final tile = FTile(
1717
actions: null,
1818
// {@endcategory}
1919
// {@category "Callbacks"}
20+
onDoubleTap: () {},
2021
onLongPress: () {},
2122
onSecondaryPress: () {},
2223
onSecondaryLongPress: () {},
@@ -49,6 +50,7 @@ final tileRaw = FTile.raw(
4950
actions: null,
5051
// {@endcategory}
5152
// {@category "Callbacks"}
53+
onDoubleTap: () {},
5254
onLongPress: () {},
5355
onSecondaryPress: () {},
5456
onSecondaryLongPress: () {},

forui/CHANGELOG.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
## 0.20.0
22

3-
### Others
4-
* Add `FBorderRadius` with size tokens (`xs`, `sm`, `base`, `lg`, `xl`, `xl2`, `xl3`, `pill`).
5-
6-
* **Breaking** Change `FStyle.borderRadius` from `BorderRadius` to `FBorderRadius`.
7-
* **Breaking** Remove `FLerpBorderRadius`. Use `BorderRadius` instead.
8-
9-
103
### `FAlert`
114
* **Breaking** Change `FAlertStyle.decoration` type from `BoxDecoration` to `Decoration`.
125

@@ -128,9 +121,12 @@
128121

129122
### Others
130123
* Add `Decorations` extension on `Decoration` for extracting common visual properties.
124+
* Add `FBorderRadius` with size tokens (`xs`, `sm`, `base`, `lg`, `xl`, `xl2`, `xl3`, `pill`).
125+
* Add `FPlatformVariantConstraint` extension type.
131126

132127
* Change default border shape from `RoundedRectangleBorder` to `RoundedSuperellipseBorder` in widget `.inherit()` constructors.
133-
* Add `FPlatformVariantConstraint` extension type.
128+
* **Breaking** Change `FStyle.borderRadius` from `BorderRadius` to `FBorderRadius`.
129+
* **Breaking** Remove `FLerpBorderRadius`. Use `BorderRadius` instead.
134130

135131
* Fix widget `.inherit()` constructors not using `FStyle.borderWidth` for `BorderSide` widths.
136132

forui/bin/commands/style/style.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)