THeader.nested constructor

const THeader.nested({
  1. Key? key,
  2. required String title,
  3. TextStyle? titleStyle,
  4. bool enableCenterTitle = false,
  5. List<Widget>? suffixAction,
  6. Color? backgroundColor,
  7. Widget? prefixAction,
  8. Color? iconColor,
  9. Color? bottomColor,
})

Implementation

const THeader.nested({
  super.key,
  required this.title,
  this.titleStyle,
  this.enableCenterTitle = false,
  this.suffixAction,
  this.backgroundColor,
  this.prefixAction,
  this.iconColor,
  this.bottomColor,
})  : headerType = HeaderType.nested,
      leadingAvatar = null,
      subtitle = null,
      subtitleStyle = null,
      isBackButtonEnabled = true,
      hintText = null,
      onChanged = null,
      onSubmitted = null,
      icon = const Icon(Icons.arrow_back_ios, color: Colors.white);