1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
thesis_shop/lib/screens/product_list/cart_button_overlay.dart

23 lines
512 B

import 'package:flutter/material.dart';
import 'cart_button.dart';
class CartButtonOverlay extends StatelessWidget {
final Widget child;
const CartButtonOverlay({Key? key, required this.child}) : super(key: key);
@override
Widget build(BuildContext context) {
return Stack(
children: [
Positioned.fill(child: child),
const Positioned(
left: 8,
bottom: 8,
right: 8,
child: SafeArea(child: CartButton()),
)
],
);
}
}