BannerModel constructor
BannerModel(imagePath: '/assets/banner1.png', id: "1")
OR
BannerModel(imagePath: '"https://picjumbo.com/wp-content/uploads/the-golden-gate-bridge-sunset-1080x720.jpg"', id: "2"),
Implementation
BannerModel(
{required this.imagePath, required this.id, this.boxFit = BoxFit.cover});