app/lib/components/bannerimage.dart

20 lines
420 B
Dart
Raw Normal View History

2022-05-15 16:51:11 +02:00
import 'package:flutter/material.dart';
class Bannerimage extends StatelessWidget {
const Bannerimage({
Key? key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
2022-05-15 17:15:04 +02:00
padding: EdgeInsets.all(0.0),
2022-05-15 16:51:11 +02:00
child: new Image.asset(
'assets/Carousel_1.webp',
2022-05-15 17:15:04 +02:00
width: 600.0,
2022-05-15 16:51:11 +02:00
height: 200.0,
2022-05-15 17:15:04 +02:00
fit: BoxFit.fill,
2022-05-15 16:51:11 +02:00
));
}
}