IDKitButton.image constructor
IDKitButton.image(
- String image, {
- String? disableImage,
- Size? imgSize,
- BoxFit? imgFit,
- Color? bgColor,
- Color? disableBgColor,
- Decoration? decoration,
- Decoration? disableDecoration,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- String? backgroundImage,
- Duration? duration,
- dynamic onTap()?,
- bool enable = true,
- Stream<
bool> ? enableStream,
Image-only button
Implementation
factory IDKitButton.image(
String image, {
String? disableImage,
Size? imgSize,
BoxFit? imgFit,
Color? bgColor,
Color? disableBgColor,
Decoration? decoration,
Decoration? disableDecoration,
double? width,
double? height,
EdgeInsetsGeometry? margin,
EdgeInsetsGeometry? padding,
String? backgroundImage,
Duration? duration,
Function()? onTap,
bool enable = true,
Stream<bool>? enableStream,
}) =>
IDKitButton(
image: image,
margin: margin,
padding: padding,
width: width,
height: height,
backgroundImage: backgroundImage,
onTap: onTap,
enableStream: enableStream,
enable: enable,
duration: duration,
bgColor: bgColor,
disableBgColor: disableBgColor,
decoration: decoration,
disableDecoration: disableDecoration,
disableImage: disableImage,
imgFit: imgFit,
imgSize: imgSize,
);