IDKitButton constructor
const
IDKitButton({
- Key? key,
- double? width,
- double? height,
- Color? bgColor,
- Color? disableBgColor,
- String? backgroundImage,
- Decoration? decoration,
- Decoration? disableDecoration,
- String? title,
- String? disableTitle,
- String? image,
- String? disableImage,
- Size? imgSize,
- BoxFit? imgFit,
- BtnGraphicLayout layout = BtnGraphicLayout.lr,
- double? distance,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- TextStyle? style,
- TextStyle? disableStyle,
- dynamic onTap()?,
- bool enable = true,
- Stream<
bool> ? enableStream, - Duration? duration,
Implementation
const IDKitButton({
Key? key,
this.width,
this.height,
this.bgColor,
this.disableBgColor,
this.backgroundImage,
this.decoration,
this.disableDecoration,
this.title,
this.disableTitle,
this.image,
this.disableImage,
this.imgSize,
this.imgFit,
this.layout = BtnGraphicLayout.lr,
this.distance,
this.margin,
this.padding,
this.style,
this.disableStyle,
this.onTap,
this.enable = true,
this.enableStream,
this.duration,
}) : super(key: key);