Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.29.0"
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release

# FVM Version Cache
.fvm/
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dart.flutterSdkPath": ".fvm/versions/3.29.0"
}
4 changes: 0 additions & 4 deletions l10n.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion lib/ui/widgets/primary_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PrimaryButton extends StatelessWidget {
? AppTheme.of(context).background.primaryInactive
: AppTheme.of(context).background.brand,
borderRadius: BorderRadius.circular(
AppTheme.of(context).radius.none,
AppTheme.of(context).radius.xxl,
),
),
child: Row(
Expand Down
7 changes: 7 additions & 0 deletions widgetbook/lib/ui/widgets/primary_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ import 'package:widgetbook_annotation/widgetbook_annotation.dart';

// TODO: Implement the PrimaryButton use-case
// DESIGN: https://www.figma.com/design/HsANkdhbsCNTkXBzNJRNLD/Groceries-Demo?node-id=7235-4663&t=N6qwmLP7MP59ClWB-4
@UseCase(name: 'default', type: PrimaryButton)
Widget buildPrimaryButtonUseCase(BuildContext context) {
return PrimaryButton(
content: context.knobs.string(label: 'Content', initialValue: 'Continue'),
onPressed: () {},
);
}