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. AppBar? appBar,
  8. PreferredSizeWidget? appBarBottom,
  9. Widget? drawer,
  10. bool? isStartDrawer = true,
  11. Widget? drawerIcon,
  12. AppBar? footer,
  13. OutlineRF? outline,
  14. Object? model,
  15. dynamic pageData,
  16. bool showPlaceholder = false,
  17. dynamic onCallerBack()?,
  18. FlexBarRF? flex,
  19. Widget? stickyHeader,
  20. required Widget body,
  21. Widget? fab,
  22. FloatingActionButtonAnimator? fabEx,
  23. Widget? filter,
  24. Function? onInit,
  25. dynamic onBack()?,
  26. bool normalPage = false,
  27. Color backgroundColor = Colors.white,
  28. bool disabledPageScroll = false,
  29. List<Widget>? backgroundPositionedImages,
  30. List<int>? hidePositionedImages,
  31. List<Color>? osBarColors,
  32. TemplateRF? template,
})

Implementation

PageRF({
  required this.title,
  this.titleStyle,
  this.titleVisible = false,
  this.flexTitle = '', //will go to flex
  this.flexTitleVisible = true,
  this.pageType,
  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,
});