WebPageWrapper class
class WebPageWrapper
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- WebPageWrapper
- Available extensions
Constructors
- WebPageWrapper({Key? key, Widget? child, PreferredSizeWidget? appBar, Widget? body, ScreenOverlayWidget? screenOverlay, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, Widget? drawer, DrawerCallback? onDrawerChanged, Widget? endDrawer, DrawerCallback? onEndDrawerChanged, Widget? bottomSheet, Color? backgroundColor, bool? resizeToAvoidBottomInset, bool? primary, DragStartBehavior? drawerDragStartBehavior, bool? extendBody, bool? extendBodyBehindAppBar, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool? drawerEnableOpenDragGesture, bool? endDrawerEnableOpenDragGesture, String? restorationId, Axis? scrollDirection, bool? reverse, EdgeInsetsGeometry? padding, bool? scrollPrimary, ScrollPhysics? physics, ScrollController? scrollController, DragStartBehavior? dragStartBehavior, Clip? clipBehavior, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior})
Properties
-
Is a footer displayed
final
- appBar → PreferredSizeWidget?
-
An bar to display at the top of the webpage.
final
- backgroundColor → Color?
-
The color of the Material widget that underlies the entire Scaffold.
final
- body → Widget?
-
The body of the web page.
final
-
final
- bottomSheet → Widget?
-
The persistent bottom sheet to display.
final
- child → Widget?
-
The optional widget passed into this wrapper
final
- clipBehavior → Clip?
-
Defaults to Clip.hardEdge.
final
- context → BuildContext
-
Provide its Context
no setter
- dragStartBehavior → DragStartBehavior?
-
Determines the way that drag start behavior is handled.
final
- drawer → Widget?
-
A panel displayed to the side of the body, often hidden
final
- drawerDragStartBehavior → DragStartBehavior?
-
final
- drawerEdgeDragWidth → double?
-
The width of the area within which a horizontal swipe will open the
drawer.
final
- drawerEnableOpenDragGesture → bool?
-
Determines if the Scaffold.drawer can be opened with a drag
gesture on mobile.
final
- drawerScrimColor → Color?
-
The color to use for the scrim that obscures primary content while a drawer is open.
final
- endDrawer → Widget?
-
A panel displayed to the side of the body. Swipes in from right-to-left
final
- endDrawerEnableOpenDragGesture → bool?
-
Determines if the Scaffold.endDrawer can be opened with a
gesture on mobile.
final
- extendBody → bool?
-
if true then the body extends to the bottom of the Scaffold,
final
- extendBodyBehindAppBar → bool?
-
If true, and an appBar is specified, then the height of the body is
extended to include the height of the app bar and the top of the body
is aligned with the top of the app bar.
final
- floatingActionButton → Widget?
-
A button displayed floating above body, in the bottom right corner.
final
- floatingActionButtonAnimator → FloatingActionButtonAnimator?
-
Animator to move the floatingActionButton to a new floatingActionButtonLocation.
final
- floatingActionButtonLocation → FloatingActionButtonLocation?
-
Responsible for determining where the floatingActionButton should go.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inSmallScreen → bool
-
Running in small screen
no setter
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardDismissBehavior → ScrollViewKeyboardDismissBehavior?
-
How should a on-screen keyboard dismiss .
final
- offset → double?
-
Current scroll position.
no setter
- onDrawerChanged → DrawerCallback?
-
Optional callback that is called when the Scaffold.drawer is opened or closed.
final
- onEndDrawerChanged → DrawerCallback?
-
Optional callback that is called when the Scaffold.endDrawer is opened or closed.
final
- opacity → double
-
Its opacity
no setter
- padding → EdgeInsetsGeometry?
-
The amount of space by which to inset the child.
final
-
The alignment of the persistentFooterButtons inside the OverflowBar.
final
-
A set of buttons that are displayed at the bottom of the webpage.
final
- physics → ScrollPhysics?
-
How the scroll view should respond to user input.
final
- primary → bool?
-
Whether this scaffold is being displayed at the top of the screen.
final
- resizeToAvoidBottomInset → bool?
-
If true the body and the scaffold's floating widgets should size
themselves to avoid the onscreen keyboard
final
- restorationId → String?
-
Restoration ID to save and restore the state of the Scaffold.
final
- reverse → bool?
-
Whether the scroll view scrolls in the reading direction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenOverlay → ScreenOverlayWidget?
-
An Screen Overlay Widget
final
- screenSize → Size
-
Screen size
no setter
- scrollController → ScrollController?
-
The Controller for any scrolling
final
- scrollDirection → Axis?
-
The axis along which the scroll view scrolls.
final
- scrollDown → bool
-
Scrolling down
no setter
- scrollPrimary → bool?
-
Whether this scaffold is being displayed at the top of the screen.
final
- scrollUp → bool
-
Scrolling up
no setter
- state → _WebPageWrapperState?
-
Provide its State object
no setter
Methods
-
builder(
BuildContext context) → Widget? - Optional child builder routine. Only call once.
-
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
-
dispose(
) → void - Called in State object
-
drawerChanged(
bool isOpened) → Widget? -
endDrawerChanged(
bool isOpened) → Widget? -
initState(
) → void - Called in State object
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAppBar(
) → PreferredSizeWidget? - The title bar of the webpage
-
onBackgroundColor(
) → Color? -
onBody(
) → Widget? - The optional body of the webpage
-
onBottomSheet(
) → Widget? -
onChild(
BuildContext context) → Widget? - The optional child widget
-
onDrawer(
) → Widget? -
onEndDrawer(
) → Widget? -
setState(
VoidCallback fn) → void - Rebuild State Object
-
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}) → 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