Screen class abstract
Screen
- Inheritance
- Mixed in types
Constructors
- Screen.build({Key? key, String? name, Tranx? primaryTranx, Tranx? secondaryTranx, Tranx? tertiaryTranx, bool replace = false, bool closeAllPrev = false})
- Screen.open(BuildContext context, {Key? key, String? name, Tranx? primaryTranx, Tranx? secondaryTranx, Tranx? tertiaryTranx, Curve? curve, Curve? secondaryCurve, Curve? tertiaryCurve, Duration? duration, Duration? secondaryDuration, Duration? tertiaryDuration, bool replace = false, bool closeAllPrev = false})
Properties
-
animation
→ Animation<
double> -
no setter
- body → Widget
-
no setter
- closeAllPrev → bool
-
final
- context → BuildContext
-
no setterinherited
- curve → Curve
-
no setter
- delayTertiary → bool
-
no setter
- displayAlignment → Alignment
-
no setter
- displayDecor → Decor
-
no setter
- displayScrim → Decor
-
no setter
- drawer → Widget
-
no setter
- drawerDecor → Decor
-
no setter
- duration → Duration
-
no setter
- empty → Widget
-
no setterinherited
- endDrawer → Widget
-
no setter
- endDrawerDecor → Decor
-
no setter
- fab → Widget
-
no setter
- fabLocation → FloatingActionButtonLocation
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget
-
no setter
- headerDecor → Decor
-
no setter
- headerHeight → double
-
no setter
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- name → String
-
final
- overlayHeader → bool
-
no setter
- replace → bool
-
final
- route → ScreenRoute
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryAnimation
→ Animation<
double> -
no setter
- secondaryCurve → Curve
-
no setter
- secondaryDuration → Duration
-
no setter
- secondaryTranx → Tranx
-
no setter
- splash → SplashFactory
-
no setter
-
tertiaryAnimation
→ Animation<
double> -
no setter
- tertiaryCurve → Curve
-
no setter
- tertiaryDuration → Duration
-
no setter
- tertiaryTranx → Tranx
-
no setter
- tranx → Tranx
-
no setter
- useStaticHeader → bool
-
no setter
Methods
-
close(
) → dynamic -
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → ScreenState< Screen> -
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
-
dot(
double size, [Color? color]) → Widget -
inherited
-
flex(
int flex) → Expanded -
inherited
-
frame(
Widget content) → Widget -
gap(
double size) → Widget -
inherited
-
lineH(
double thickness, [Color? color]) → Widget -
inherited
-
lineV(
double thickness, [Color? color]) → Widget -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
BuildContext context) → dynamic -
openDrawer(
) → void -
openEndDrawer(
) → void -
safeRegion(
{Widget? child, bool left = true, bool top = true, bool right = true, bool bottom = true, SafeArea safeArea = const SafeArea(child: _UITools._empty)}) → Widget -
setState(
dynamic fn()) → void -
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