Skip to content

Commit

Permalink
feat: qr view for purchases
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanRns committed May 28, 2024
1 parent 7745c60 commit 3a6a4b6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
25 changes: 25 additions & 0 deletions wallet/lib/pages/events/event_qr_code_screen.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import 'dart:convert';

import 'package:flutter/material.dart';

const jsonExecuteRecipe = '''
{
"creator": "",
"cookbook_id": "",
"recipe_id": "",
"eventName": "",
"eventPrice": "",
"eventCurrency": "",
"coinInputsIndex": 0
}
''';
final jsonMap = jsonDecode(jsonExecuteRecipe) as Map;

class EventQrCodeScreen extends StatelessWidget {
const EventQrCodeScreen({super.key});

@override
Widget build(BuildContext context) {
return const Placeholder();
}
}
6 changes: 5 additions & 1 deletion wallet/lib/pages/events/events_owner_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@ class EventPassViewContent extends StatelessWidget {
)),
// placeholder: (context, url) => Shimmer(color: AppColors.kLightGray, child: const SizedBox.expand()),
),
)
),




],
),
),
Expand Down

0 comments on commit 3a6a4b6

Please sign in to comment.