PageRF class

Inheritance

Constructors

PageRF.new({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, AppBar? footer, 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})

Properties

appBar AppBar?
final
appBarBottom PreferredSizeWidget?
final
backgroundColor Color
final
backgroundPositionedImages List<Widget>?
getter/setter pair
body Widget
final
disabledPageScroll bool
final
drawer Widget?
final
drawerIcon Widget?
final
fab Widget?
final
fabEx FloatingActionButtonAnimator?
final
filter Widget?
final
flex FlexBarRF?
final
flexTitle String
final
flexTitleVisible bool
final
final
hashCode int
The hash code for this object.
no setterinherited
hidePositionedImages List<int>?
getter/setter pair
isStartDrawer bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
model Object?
final
normalPage bool
final
onBack → dynamic Function()?
final
onCallerBack → dynamic Function()?
final
onInit Function?
final
osBarColors List<Color>?
final
outline OutlineRF?
final
pageData → dynamic
final
pageType PageType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showPlaceholder bool
final
final
template TemplateRF?
getter/setter pair
title String
final
titleStyle TextStyle?
final
titleVisible bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

currentDialogContext ↔ dynamic
getter/setter pair
dataSourceRefreshOnBack DataSourceRF?
getter/setter pair
keyboardOpened bool?
getter/setter pair
onCallerPageBack Function?
getter/setter pair
pageScrollListener List<Function>
getter/setter pair
pageViewInsets double?
getter/setter pair

Static Methods

executeValidators(BuildContext context, String methodName, {Function? validateHandler}) bool
isValidModel(BuildContext context, dynamic model, {String? message, Function? validator}) bool
of(BuildContext context) PageParentRF?
refresh(dynamic instance) → dynamic
willPop(dynamic context, {dynamic model}) → dynamic