ExplorerNetworkImage constructor
const
ExplorerNetworkImage({
- Key? key,
- required String url,
- required ExplorerNetworkFiles explorerNetworkFiles,
- Map<
String, String> headers = const {}, - bool refresh = false,
- bool getOldOnError = false,
- bool log = false,
- double? width,
- double? height,
- double? borderRadius,
- BoxFit fit = BoxFit.cover,
- Color baseColor = const Color.fromARGB(255, 168, 168, 168),
- Color highlightColor = const Color.fromARGB(255, 236, 236, 236),
- Color errorIconColor = const Color.fromARGB(255, 236, 236, 236),
- Color backgroundColor = Colors.transparent,
- Color? borderColor,
- EdgeInsets? margin,
- EdgeInsets? padding,
- bool setItInDecoration = true,
Implementation
const ExplorerNetworkImage({
Key? key,
required this.url,
required this.explorerNetworkFiles,
this.headers = const {},
this.refresh = false,
this.getOldOnError = false,
this.log = false,
this.width,
this.height,
this.borderRadius,
this.fit = BoxFit.cover,
this.baseColor = const Color.fromARGB(255, 168, 168, 168),
this.highlightColor = const Color.fromARGB(255, 236, 236, 236),
this.errorIconColor = const Color.fromARGB(255, 236, 236, 236),
this.backgroundColor = Colors.transparent,
this.borderColor,
this.margin,
this.padding,
this.setItInDecoration = true,
}) : super(key: key);