TopToolbarConfig constructor

const TopToolbarConfig({
  1. String? cancelText,
  2. String? titleText,
  3. String? confirmText,
  4. Color? cancelTextColor,
  5. Color? titleTextColor,
  6. Color? confirmTextColor,
  7. Color? backgroundColor,
})

顶部工具栏配置

cancelText 取消按钮文本

titleText 标题文本

confirmText 确认按钮文本

cancelTextColor 取消按钮文本颜色

titleTextColor 标题文本颜色

confirmTextColor 确认按钮文本颜色

backgroundColor 背景颜色

Implementation

const TopToolbarConfig({
  this.cancelText,
  this.titleText,
  this.confirmText,
  this.cancelTextColor,
  this.titleTextColor,
  this.confirmTextColor,
  this.backgroundColor,
});