arup_util
library
Functions
-
fadeImage(String source, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, BorderRadius borderRadius = BorderRadius.zero, EdgeInsets margin = EdgeInsets.zero, required String? placeholder, VoidCallback? onTap})
→ Widget
-
-
image(String source, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, BorderRadius borderRadius = BorderRadius.zero, 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, BorderRadius borderRadius = BorderRadius.zero, 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, BorderRadius borderRadius = BorderRadius.zero, EdgeInsets margin = EdgeInsets.zero, VoidCallback? onTap, String? placeholder})
→ Widget
-
-
imageNetworkLocal(String url, {Color? color, double? width, double? height, BoxFit fit = BoxFit.contain, Clip clipBehavior = Clip.hardEdge, BorderRadius borderRadius = BorderRadius.zero, EdgeInsets margin = EdgeInsets.zero, VoidCallback? onTap, required String? placeholder})
→ Widget
-
-
plusMinus({required dynamic onChanged(int), int range = 1, int defaultValue = 0, Widget? addWidget, Widget? minusWidget, double spaceBetween = 10, TextStyle? textStyle, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center, MainAxisSize mainAxisSize = MainAxisSize.min, Color plusColor = Colors.black, Color minusColor = Colors.black, double plusMinusIconSize = 30})
→ Widget
-