THeader.brand constructor

const THeader.brand({
  1. Key? key,
  2. required Widget icon,
  3. List<Widget>? suffixAction,
  4. Color? backgroundColor,
  5. Color? bottomColor,
})

Implementation

const THeader.brand({
  super.key,
  required this.icon,
  this.suffixAction,
  this.backgroundColor,
  this.bottomColor,
})  : headerType = HeaderType.brand,
      title = '',
      titleStyle = null,
      isBackButtonEnabled = false,
      leadingAvatar = null,
      subtitle = null,
      subtitleStyle = null,
      prefixAction = null,
      enableCenterTitle = false,
      iconColor = null,
      hintText = null,
      onChanged = null,
      onSubmitted = null;