Skip to content

Commit

Permalink
feat: cart tile component
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizz-33 committed Mar 25, 2024
1 parent 7af1303 commit dff4856
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/components/carttile.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import 'package:blend_bristo/models/cartitem.dart';
import 'package:blend_bristo/models/restaurant.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

class MyCartTile extends StatelessWidget {
final CartItem cartItem;

const MyCartTile({super.key, required this.cartItem});

@override
Widget build(BuildContext context) {
return Consumer<Restaurant>(builder: (context, restaurant, child) => Container(
child: Column(
children: [

],
),
));
}
}

0 comments on commit dff4856

Please sign in to comment.