Hover class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's 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
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

Static Properties

router → HoverRoutingManager
no setter

Static Methods

closeDrawer(BuildContext context) → void
create({required List<HoverPage> pages, required Map<String, ThemeData> themes, List<SingleChildWidget> providers = const [], Widget appBarBuilder(BuildContext)?, Widget drawerBuilder(BuildContext)?, Widget floatingActionButtonBuilder(BuildContext)?}) Hover
Create an app with Hover. This method returns a stateless widget that contains a MaterialApp nested inside a MultiProvider.
getCurrentThemeName() Future<String?>
getScreenHeight(BuildContext context) double
getScreenHeightWithScale(double scale, BuildContext context) double
getScreenWidth(BuildContext context) double
getScreenWidthWithScale(double scale, BuildContext context) double
hasDrawer(BuildContext context) bool
isDrawerOpen(BuildContext context) bool
loadSetting(String key) Future<String?>
Load a value from shared preferences referenced by a key.
openDrawer(BuildContext context) → void
saveSetting(String key, String value) Future<bool>
Save key-value pair to shared preferences.
setThemeByName(String themeName) → void
showBottomSheet(BuildContext context, Widget builder(BuildContext)) → void
Helper method for displaying the bottom sheet
showPlainSnackBar(BuildContext context, String message, {Duration duration = HoverSnackBarHelper.defaultSnackBarDuration}) → void
Helper method for displaying a simple snackbar
showSnackBar(BuildContext context, SnackBar snackBar) → void
Helper method for displaying a snackbar widget
toggleDrawer(BuildContext context) → void