RCKConvoAppBarConfig constructor

RCKConvoAppBarConfig({
  1. double height = appbarHeight,
  2. EdgeInsets padding = EdgeInsets.zero,
  3. bool centerTitle = false,
  4. bool automaticallyImplyLeading = false,
  5. BackgroundConfig backgroundConfig = const BackgroundConfig(),
  6. LeadingConfig leadingConfig = const LeadingConfig(),
  7. AppbarTitleConfig? titleConfig,
  8. ActionsConfig actionsConfig = const ActionsConfig(),
})

Implementation

RCKConvoAppBarConfig({
  this.height = appbarHeight,
  this.padding = EdgeInsets.zero,
  // 将标题默认居中
  this.centerTitle = false,
  this.automaticallyImplyLeading = false,
  this.backgroundConfig = const BackgroundConfig(),
  this.leadingConfig = const LeadingConfig(),
  AppbarTitleConfig? titleConfig,
  this.actionsConfig = const ActionsConfig(),
}) : titleConfig = titleConfig ?? AppbarTitleConfig();