This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import TeslaSwift | |
class TeslaAssets { | |
static let shared: TeslaAssets = TeslaAssets() | |
var carType: String = "" | |
var optionCodes: [String] = [] | |
func generateImageUrl(for vehicleConfig: VehicleConfig) -> String { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:photo_view/photo_view.dart'; | |
// ignore: must_be_immutable | |
class HeroImageView extends StatelessWidget { | |
String urlString; | |
double height; | |
double width; | |
BoxFit fit; |