banners property

List<BannerModel>? banners
final

banners List of BannerModel. The imagePath can be assert Path or Network Path

List banners = BannerModel(imagePath: '/assets/banner1.png', id: "1"), BannerModel(imagePath: '"https://picjumbo.com/wp-content/uploads/the-golden-gate-bridge-sunset-1080x720.jpg"', id: "2"),

Implementation

final List<BannerModel>? banners;