StoryListAddIcon constructor

const StoryListAddIcon({
  1. Key? key,
  2. Function? onPressed,
  3. double size = _kIconSize,
  4. Color iconColor = Colors.white,
})
  • 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);