TImage constructor
const
TImage({
- Key? key,
- String? url,
- double size = 80,
- double previewSize = 350,
- String placeholder = 'package:te_widgets/assets/icons/no_image.png',
- Color? backgroundColor,
- double padding = 0,
- bool disabled = false,
- VoidCallback? onShow,
- VoidCallback? onHide,
Implementation
const TImage({
super.key,
this.url,
this.size = 80,
this.previewSize = 350,
this.placeholder = 'package:te_widgets/assets/icons/no_image.png',
this.backgroundColor,
this.padding = 0,
this.disabled = false,
this.onShow,
this.onHide,
});