TenAppBar.sliver constructor

TenAppBar.sliver({
  1. Key? key,
  2. String? title,
  3. Widget? titleBuild,
  4. List<Widget>? actions,
  5. bool? autoShowPop = true,
  6. bool? centerTitle = false,
  7. Color? backgroundColor,
  8. PreferredSizeWidget? bottom,
})

Implementation

TenAppBar.sliver(
    {super.key,
    this.title,
    this.titleBuild,
    this.actions,
    this.autoShowPop = true,
    this.centerTitle = false,
    this.backgroundColor,
    this.bottom})
    : preferredSize = Size.fromHeight(
          bottom == null ? 60 : bottom.preferredSize.height + 60),
      sliver = true;