AddToList constructor

AddToList({
  1. required int count,
  2. Color? color,
  3. double? size,
  4. Shadow? shadow,
  5. String? semanticLabel,
  6. Key? key,
})

Implementation

factory AddToList({
  required int count,
  Color? color,
  double? size,
  Shadow? shadow,
  String? semanticLabel,
  Key? key,
}) {
  return AddToList._count(
    iconData: _getResource(count),
    color: color,
    size: size,
    shadow: shadow,
    semanticLabel: semanticLabel,
    key: key,
  );
}