WebPageWrapper class

A variation of the WebPageWidget---no need to supply a controller You can supply controller properties instead. The Controller is created for you.

Uses the 'default' bottom bar if any is available.

Inheritance
Available Extensions

Constructors

WebPageWrapper({Key? key, Widget? child, List<Widget>? children, String? title, PreferredSizeWidget? appBar, WebPageController? controller, bool hasBottomBar = true, List<Widget>? persistentFooterButtons(BuildContext context)?, Widget? drawer(BuildContext context)?, DrawerCallback? onDrawerChanged(BuildContext context)?, Widget? endDrawer(BuildContext context)?, DrawerCallback? onEndDrawerChanged(BuildContext context)?, Widget? bottomNavigationBar(BuildContext context)?, Widget? bottomSheet(BuildContext context)?, Color? backgroundColor, bool? resizeToAvoidBottomInset, bool? primary, DragStartBehavior? drawerDragStartBehavior, bool? extendBody, bool? extendBodyBehindAppBar, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool? drawerEnableOpenDragGesture, bool? endDrawerEnableOpenDragGesture, String? restorationId, ScrollPhysics? physics})
Supply the 'child' widget to display or a list of child widgets. Many are the Scaffold widget options.

Properties

child Widget?
The child widget to be viewed in the webpage.
final
children List<Widget>?
The list of child widgets. Above child widget takes precedence.
final
controller WebPageController
Webpage controller
finalinherited
hasBottomBar bool?
Display a bottom bar
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
opacity double
The State object's current opacity.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSize Size?
Determine the current screen size.
no setterinherited
scrollController ScrollController?
The State object's Scroll Controller
no setterinherited
scrollPosition double
The State object's Scroll Position
no setterinherited
title String?
finalinherited
webPageBaseController WebPageBaseController
finalinherited

Methods

bottomBar(BuildContext context, [WebPageWidget? widget]) Column?
Possible bottom bar
inherited
builder(BuildContext context) Widget
Create the webpage using this widget if necessary.
inherited
buildList(BuildContext context) List<Widget>
Create a list of Widgets for a webpage using this widget if necessary.
inherited
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.
inherited
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
popupScreen(BuildContext context, {required String title, required String text, required String name, Widget? image, bool interactive = true, EdgeInsetsGeometry? margin, Decoration? decoration, EdgeInsetsGeometry? padding, CrossAxisAlignment? crossAxisAlignment, TextStyle? titleStyle, TextStyle? textStyle}) Widget
Supply a 'popup' screen that zooms in on the screen.
inherited
screenOverlay(BuildContext context) StackWidgetProperties?
Possible Screen overlay
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}) 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
uriBrowse(String? uri, {bool? forceSafariVC, bool? forceWebView, bool? enableJavaScript, bool? enableDomStorage, bool? universalLinksOnly, Map<String, String>? headers, Brightness? statusBarBrightness, String? webOnlyWindowName}) Future<bool>
Display an external webpage.
inherited

Operators

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