TImage.circle constructor
const
TImage.circle({
- Key? key,
- String? url,
- double size = 80,
- double previewSize = 350,
- double aspectRatio = 1,
- String placeholder = 'package:te_widgets/assets/icons/no_image.png',
- ShapeBorder border = const CircleBorder(),
- double padding = 5,
- BoxFit fit = BoxFit.contain,
- Color? color,
- String? title,
- String? subTitle,
- Color? titleColor,
- Color? subTitleColor,
- bool disabled = false,
- VoidCallback? onShow,
- VoidCallback? onHide,
Creates a circular image widget.
Implementation
const TImage.circle({
super.key,
this.url,
this.size = 80,
this.previewSize = 350,
this.aspectRatio = 1,
this.placeholder = 'package:te_widgets/assets/icons/no_image.png',
this.border = const CircleBorder(),
this.padding = 5,
this.fit = BoxFit.contain,
this.color,
this.title,
this.subTitle,
this.titleColor,
this.subTitleColor,
this.disabled = false,
this.onShow,
this.onHide,
});