flutter_screwdriver
library
Classes
-
ClearFocusNavigatorObserver
-
Clears current focus when navigation happens.
-
DirectionalAffinity
-
Represents a widget that allows to place a widget before and after the
child widget which is controlled by affinity in either horizontal or
vertical direction.
-
Provides page route with fade-scale material transition
from animations package.
-
Provides page route with fade-through material transition
from animations package.
-
Gap
-
A widget that adds some space between widgets inside Flex widgets
such as Columns and Rows or scrolling views.
This is alternative to SizedBox inside row/column such that
you don't have to know the main direction of the parent widget.
-
HideKeyboard
-
Hides keyboard on tap outside tap-able widgets.
This should be used as the parent of your MaterialApp. This way, it will
detect any touches outside text fields and other touchable areas and will
close the soft keyboard if open.
Flag hide can be used to toggle this behavior.
e.g.
-
HorizontalAffinity
-
Represents a widget that allows to place a widget before and after the
child widget in horizontal direction which is controlled by affinity.
-
Hoverable
-
A widget that detects mouse hover events and notifies its child.
This widget is useful when you want to change the appearance of a widget
when the mouse hovers over it.
-
PostFrame
-
Provides a widget that runs a callback after the first frame is rendered.
-
Provides page route with shared axis material transition
from animations package.
User
SharedAxisTransitionType.vertical
for (y-axis) page transition.
User SharedAxisTransitionType.horizontal
for (x-axis) page transition.
User SharedAxisTransitionType.scaled
for (z-axis) page transition.
-
VerticalAffinity
-
Represents a widget that allows to place a widget above and below the
child widget in horizontal direction which is controlled by affinity.
Typedefs
-
Disposable
= void Function()
-
Represents a function that is responsible for disposing listeners.
-
HoverWidgetBuilder
= Widget Function(BuildContext context, bool hovering, Widget? child)
-
Builder function type for Hoverable where
hovering
is a boolean
indicating whether the widget is currently being hovered or not.
child
is the child widget of Hoverable which won't be rebuilt
when hovering
changes.
-
Space
= Gap
-
An alias name for the Gap widget.