Skip to content

Commit 68f970f

Browse files
committed
Fix issues
1 parent 3e42b9a commit 68f970f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs_snippets/lib/usages/widgets/button.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ final button = FButton(
4343

4444
final icon = FButton.icon(
4545
// {@category "Variant"}
46-
variant: .outline,
46+
variant: null,
47+
// {@endcategory}
48+
// {@category "Size"}
4749
size: null,
4850
// {@endcategory}
4951
// {@category "Core"}
@@ -71,6 +73,8 @@ final icon = FButton.icon(
7173
final raw = FButton.raw(
7274
// {@category "Variant"}
7375
variant: null,
76+
// {@endcategory}
77+
// {@category "Size"}
7478
size: null,
7579
// {@endcategory}
7680
// {@category "Core"}

forui/lib/src/widgets/button/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class FButton extends StatelessWidget {
6767
/// ```dart
6868
/// FButton(
6969
/// variant: .destructive,
70-
/// size: .small,
70+
/// size: .sm,
7171
/// style: .delta(contentStyle: .delta(padding: .all(20))),
7272
/// onPress: () {},
7373
/// child: Text('Small destructive button with extra padding'),

0 commit comments

Comments
 (0)