GNSliverAppbar constructor

const GNSliverAppbar({
  1. Key? key,
  2. bool pinned = false,
  3. bool snap = false,
  4. bool floating = false,
  5. double expandedHeight = NumberConst.ExpandedHeight,
  6. required Widget flexibleSpace,
  7. required List<Widget> sliverWidgets,
  8. List<Widget>? actions,
  9. Color backgroundColor = Colors.blue,
  10. required Widget title,
  11. bool? centerTitle,
  12. EdgeInsetsGeometry? titlePadding,
})

Implementation

const GNSliverAppbar({
  super.key,
  this.pinned = false,
  this.snap = false,
  this.floating = false,
  this.expandedHeight = NumberConst.ExpandedHeight,
  required this.flexibleSpace,
  required this.sliverWidgets,
  this.actions,
  this.backgroundColor = Colors.blue,
  required this.title,
  this.centerTitle,
  this.titlePadding,
});