RCKConvoAppBarConfig constructor
RCKConvoAppBarConfig({
- double height = appbarHeight,
- EdgeInsets padding = EdgeInsets.zero,
- bool centerTitle = false,
- bool automaticallyImplyLeading = false,
- BackgroundConfig backgroundConfig = const BackgroundConfig(),
- LeadingConfig leadingConfig = const LeadingConfig(),
- AppbarTitleConfig? titleConfig,
- 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();