GNSliverAppbar constructor
const
GNSliverAppbar({
- Key? key,
- bool pinned = false,
- bool snap = false,
- bool floating = false,
- double expandedHeight = NumberConst.ExpandedHeight,
- required Widget flexibleSpace,
- required List<
Widget> sliverWidgets, - List<
Widget> ? actions, - Color backgroundColor = Colors.blue,
- required Widget title,
- bool? centerTitle,
- 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,
});