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