forked from eatvio/eatvio_app
fix: plan widget in profile image size overflow
This commit is contained in:
@@ -62,8 +62,9 @@ class _PlanWidgetState extends State<PlanWidget> {
|
||||
borderRadius: const BorderRadius.vertical(top: Radius.circular(12)),
|
||||
child: CachedNetworkImage(
|
||||
imageUrl: '$baseUrl/storage/${widget.plan.image}',
|
||||
fit: BoxFit.fitWidth,
|
||||
fit: BoxFit.cover,
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height: 426,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
|
||||
@@ -329,7 +329,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
SizedBox(
|
||||
height: 378,
|
||||
height: 759,
|
||||
child: PageView.builder(
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
return PlanWidget(
|
||||
|
||||
Reference in New Issue
Block a user