StoryListAddIcon constructor Null safety
onPressed
is the action when clicked.size
is the size of the icon inside.iconColor
is the color of the icon inside.
Implementation
const StoryListAddIcon({
Key? key,
this.onPressed,
this.size = _kIconSize,
this.iconColor = Colors.white,
}) : super(key: key);