SunnyResponsivePage constructor
const
SunnyResponsivePage({
- Key? key,
- dynamic body,
- HeroBar? expanded,
- bool useBody = false,
- bool isWhiteBg = false,
- dynamic pageTitle,
- bool cachePage = false,
- bool isContentPadding = true,
- Widget? leading,
- bool isImpliedLeading = true,
- double? headerHeight,
- List<
Widget> ? actions, - bool showAppBarDivider = false,
- bool showTabBarWithKeyboard = false,
- bool hideAppBar = false,
- WidgetBuilder? fab,
- Color? appBarColor,
- ScrollController? scroller,
- DecorationImage? bgImage,
- Widget? underlay,
- Widget? overlay,
- AsyncCallback? onStretch,
- SunnyPageLayoutFactory? layout,
Implementation
const SunnyResponsivePage(
{Key? key,
this.body,
this.expanded,
this.useBody = false,
this.isWhiteBg = false,
this.pageTitle,
this.cachePage = false,
this.isContentPadding = true,
this.leading,
this.isImpliedLeading = true,
this.headerHeight,
this.actions,
this.showAppBarDivider = false,
this.showTabBarWithKeyboard = false,
this.hideAppBar = false,
this.fab,
this.appBarColor,
this.scroller,
this.bgImage,
this.underlay,
this.overlay,
this.onStretch,
this.layout})
: assert(pageTitle == null || pageTitle is String || pageTitle is Widget),
assert(useBody != true || body is Widget),
super(key: key);