PageRF constructor

PageRF({
  1. required String title,
  2. TextStyle? titleStyle,
  3. bool titleVisible = false,
  4. String flexTitle = '',
  5. bool flexTitleVisible = true,
  6. PageType? pageType,
  7. bool? centerTitle,
  8. AppBar? appBar,
  9. PreferredSizeWidget? appBarBottom,
  10. Widget? drawer,
  11. bool? isStartDrawer = true,
  12. Widget? drawerIcon,
  13. AppBar? footer,
  14. OutlineRF? outline,
  15. Object? model,
  16. dynamic pageData,
  17. bool showPlaceholder = false,
  18. dynamic onCallerBack()?,
  19. FlexBarRF? flex,
  20. Widget? stickyHeader,
  21. required Widget body,
  22. Widget? fab,
  23. FloatingActionButtonAnimator? fabEx,
  24. Widget? filter,
  25. Function? onInit,
  26. dynamic onBack()?,
  27. bool normalPage = false,
  28. Color backgroundColor = Colors.white,
  29. bool disabledPageScroll = false,
  30. List<Widget>? backgroundPositionedImages,
  31. List<int>? hidePositionedImages,
  32. List<Color>? osBarColors,
  33. TemplateRF? template,
})

Implementation

PageRF({
  required this.title,
  this.titleStyle,
  this.titleVisible = false,
  this.flexTitle = '', //will go to flex
  this.flexTitleVisible = true,
  this.pageType,
  this.centerTitle,
  this.appBar, //New
  this.appBarBottom, //New
  this.drawer,
  this.isStartDrawer = true,
  this.drawerIcon,
  this.footer, //new
  this.outline, //?? no need
  this.model,
  this.pageData,
  this.showPlaceholder = false,
  this.onCallerBack,
  this.flex,
  this.stickyHeader,
  required this.body,
  this.fab,
  this.fabEx,
  this.filter, // no need , can go to sticket header
  this.onInit,
  this.onBack,
  this.normalPage = false,
  this.backgroundColor = Colors.white,
  this.disabledPageScroll = false,
  this.backgroundPositionedImages,
  this.hidePositionedImages,
  this.osBarColors,
  this.template,
});