InAppWebView class

Write comment and a great docs change the name of package

Inheritance

Constructors

InAppWebView(String mUrl, {Key? key, TextDirection mDirection = TextDirection.ltr, Widget backIcon = const IconWidget(Icons.arrow_back_ios), Widget nextIcon = const IconWidget(Icons.arrow_forward_ios), Widget shareIcon = const IconWidget(Icons.share), Widget refreshIcon = const IconWidget(Icons.refresh), Widget closeIcon = const IconWidget(Icons.close), Color appBarBGColor = Colors.white, Color bottomNavColor = Colors.white, Widget titleWidget = const Text("Default"), bool defaultTitle = false, List<Widget> actionWidget = const [], bool centerTitle = false, double elevationVal = 0, Color appBarFGColor = Colors.blue, Color shadowColor = Colors.blue, IconThemeData iconTheme = const IconThemeData(), IconThemeData actionsIconTheme = const IconThemeData(), bool primary = true, bool excludeHeaderSemantics = false, double titleSpacing = 0.0, double toolbarHeight = 56.0, double leadingWidth = 56.0, TextStyle toolbarTextStyle = const TextStyle(), TextStyle titleTextStyle = const TextStyle(), double btmSheetSize = 56, BorderRadiusGeometry borderRadiusGeometry = const BorderRadius.all(Radius.circular(0)), BorderSide borderSide = const BorderSide(), bool webViewDebugging = false, bool webViewAllowsInlineMediaPlayback = false, bool webViewGestureNavigationEnabled = false, bool webViewZoomEnabled = true, Color webViewBGColor = Colors.transparent})

Properties

actionsIconTheme IconThemeData
final
actionWidget List<Widget>
final
appBarBGColor Color
final
appBarFGColor Color
final
backIcon Widget
You can set your title widget by titleWidget
final
borderRadiusGeometry BorderRadiusGeometry
final
borderSide BorderSide
final
bottomNavColor Color
final
btmSheetSize double
final
centerTitle bool
final
closeIcon Widget
You can set your title widget by titleWidget
final
defaultTitle bool
final
elevationVal double
final
excludeHeaderSemantics bool
final
hashCode int
The hash code for this object.
no setterinherited
iconTheme IconThemeData
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leadingWidth double
final
mDirection TextDirection
To change the direction of web view
final
mUrl String
mUrl which is loaded and displayed by web view and it will be show on the appbar and share by share button
getter/setter pair
nextIcon Widget
You can set your title widget by titleWidget
final
primary bool
final
refreshIcon Widget
You can set your title widget by titleWidget
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
final
shareIcon Widget
You can set your title widget by titleWidget
final
titleSpacing double
final
titleTextStyle TextStyle
final
titleWidget Widget
You can set your title widget by titleWidget
final
toolbarHeight double
final
toolbarTextStyle TextStyle
final
webViewAllowsInlineMediaPlayback bool
final
webViewBGColor Color
final
webViewDebugging bool
final
webViewGestureNavigationEnabled bool
final
webViewZoomEnabled bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _InAppWebViewState
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}) 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