components/image
library
Functions
-
image(String source, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, double borderRadius = 1, EdgeInsets margin = EdgeInsets.zero, String? placeholder, VoidCallback? onTap})
→ Widget
-
-
imageAsset(String asset, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, double borderRadius = 1, EdgeInsets margin = EdgeInsets.zero, VoidCallback? onTap})
→ Widget
-
-
imageFile(File file, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, double borderRadius = 1, EdgeInsets margin = EdgeInsets.zero, VoidCallback? onTap})
→ Widget
-
-
imageNetwork(String url, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, double borderRadius = 1, EdgeInsets margin = EdgeInsets.zero, VoidCallback? onTap, String? placeholder})
→ Widget
-