PageRF constructor
PageRF({
- required String title,
- TextStyle? titleStyle,
- bool titleVisible = false,
- String flexTitle = '',
- bool flexTitleVisible = true,
- PageType? pageType,
- AppBar? appBar,
- PreferredSizeWidget? appBarBottom,
- Widget? drawer,
- bool? isStartDrawer = true,
- Widget? drawerIcon,
- OutlineRF? outline,
- Object? model,
- dynamic pageData,
- bool showPlaceholder = false,
- dynamic onCallerBack()?,
- FlexBarRF? flex,
- Widget? stickyHeader,
- required Widget body,
- Widget? fab,
- FloatingActionButtonAnimator? fabEx,
- Widget? filter,
- Function? onInit,
- dynamic onBack()?,
- bool normalPage = false,
- Color backgroundColor = Colors.white,
- bool disabledPageScroll = false,
- List<
Widget> ? backgroundPositionedImages, - List<
int> ? hidePositionedImages, - List<
Color> ? osBarColors, - 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,
});