FlutterImageStack constructor
FlutterImageStack({
- Key? key,
- required List<
String> imageList, - double? itemRadius = 25,
- int? itemCount = 3,
- required int totalCount,
- double? itemBorderWidth = 2,
- Color itemBorderColor = Colors.grey,
- ImageSource? imageSource = ImageSource.network,
- bool showTotalCount = true,
- TextStyle extraCountTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.w600),
- Color backgroundColor = Colors.white,
Creates a flutter image stack widget.
The imageList and totalCount parameters are required.
Implementation
FlutterImageStack({
Key? key,
required this.imageList,
this.itemRadius = 25,
this.itemCount = 3,
required this.totalCount,
this.itemBorderWidth = 2,
Color this.itemBorderColor = Colors.grey,
this.imageSource = ImageSource.network,
this.showTotalCount = true,
this.extraCountTextStyle = const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w600,
),
this.backgroundColor = Colors.white,
}) : children = [],
providers = [],
super(key: key);