InfoListItem.purpleWave constructor

InfoListItem.purpleWave({Icon icon: const Icon(Icons.broken_image, size: 32.0, color: Colors.white), String titleText: 'Never look back...', String subTitleText: 'you said, how was I to know, I love you so, Loniless up ahead, emptiness behind, where do I go, and you did\'t hear, all my...', String footerText: '15 December, 2019' })

Creates an InfoListItem with deepPurple background,'Merienda', fontFamily and white, lime, white text color for title, subTitle and footer texts, respectively.

Implementation

InfoListItem.purpleWave({
  Icon icon = const Icon(Icons.broken_image, size: 32.0, color: Colors.white),
  String titleText = 'Never look back...',
  String subTitleText =
      'you said, how was I to know, I love you so, Loniless up ahead, emptiness behind, where do I go, and you did\'t hear, all my...',
  String footerText = '15 December, 2019',
}) : this(
        icon: icon,
        titleText: titleText,
        subTitleText: subTitleText,
        footerText: footerText,

        // Pre-configured.
        holderColor: Colors.deepPurple,
        titleFontFamily: 'Merienda',
        subTitleFontFamily: 'Merienda',
        footerFontFamily: 'Merienda',
        titleTextColor: Colors.white,
        subTitleTextColor: Colors.lime,
        footerTextColor: Colors.white,
      );