Files
le-kiosque-flutter/lib/ui/custom/item_mag_large.dart
T
2021-03-20 13:36:49 +02:00

31 lines
760 B
Dart

import 'package:flutter/material.dart';
import 'package:le_kiosque_by_gcs/model/magazine.dart';
class ItemMagLarge extends StatelessWidget {
const ItemMagLarge({
Key key,
this.magazine,
}) : super(key: key);
final Magazine magazine;
@override
Widget build(BuildContext context) {
return Container(
height: 235,
width: 168,
decoration: BoxDecoration(
shape: BoxShape.rectangle,
borderRadius: BorderRadius.all(
Radius.circular(5)
),
image: DecorationImage(
image: NetworkImage(
"https://miningandbusiness.com/wp-content/uploads/2021/02/03f19c3a-1d92-4be7-ac54-f52b37e626ad-561x771.jpg"),
fit: BoxFit.cover,
),
),
);
}
}