InfoListItem.darkWave constructor

InfoListItem.darkWave({Icon icon: const Icon(Icons.broken_image, size: 32.0, color: Colors.white), String titleText: 'It\'s amazing how...', String subTitleText: 'you can speak right to my heart, without saying a word, you can light up the dark', String footerText: '15 December, 2019' })

Creates an InfoListItem with black background,'Merienda' fontFamily and amber, white, blue.shade600 text color for title, subTitle and footer texts, respectively.

Implementation

InfoListItem.darkWave({
  Icon icon = const Icon(Icons.broken_image, size: 32.0, color: Colors.white),
  String titleText = 'It\'s amazing how...',
  String subTitleText =
      'you can speak right to my heart, without saying a word, you can light up the dark',
  String footerText = '15 December, 2019',
}) : this(
        icon: icon,
        titleText: titleText,
        subTitleText: subTitleText,
        footerText: footerText,

        // Pre-configured.
        holderColor: Colors.black,
        titleFontFamily: 'Merienda',
        subTitleFontFamily: 'Merienda',
        footerFontFamily: 'Merienda',
        titleTextColor: Colors.amber,
        subTitleTextColor: Colors.white,
        footerTextColor: Colors.blue.shade600,
      );