GlassAppBar constructor

const GlassAppBar({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. bool? centerTitle,
  5. double? radius,
  6. double? border,
  7. double? blur,
  8. LinearGradient? linearGradient,
  9. LinearGradient? borderGradient,
  10. BorderRadius? borderRadius,
  11. List<Widget>? actions,
})

Implementation

const GlassAppBar({
  Key? key,
  this.leading,
  this.title,
  this.centerTitle,
  this.radius,
  this.border,
  this.blur,
  this.linearGradient,
  this.borderGradient,
  this.borderRadius,
  this.actions,
})  : preferredSize = const Size.fromHeight(kToolbarHeight),
      super(key: key);