ImageStack constructor
ImageStack({
- Key? key,
- required List<
String> imageList, - double? imageRadius = 25,
- int? imageCount = 3,
- required int totalCount,
- double? imageBorderWidth = 2,
- Color? imageBorderColor = Colors.grey,
- ImageSource? imageSource = ImageSource.Network,
- bool showTotalCount = true,
- TextStyle extraCountTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w600),
- Color? extraCountBorderColor,
- Color backgroundColor = Colors.white,
Creates a image stack widget.
The imageList and totalCount parameters are required.
Implementation
ImageStack({
Key? key,
required this.imageList,
this.imageRadius = 25,
this.imageCount = 3,
required this.totalCount,
this.imageBorderWidth = 2,
this.imageBorderColor = Colors.grey,
this.imageSource = ImageSource.Network,
this.showTotalCount = true,
this.extraCountTextStyle = const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w600,
),
this.extraCountBorderColor,
this.backgroundColor = Colors.white,
}) : children = [],
providers = [],
widgetBorderColor = null,
widgetBorderWidth = null,
widgetCount = null,
widgetRadius = null,
super(key: key);