AuthView class Views

πŸ” Authentication View

Copyright (c) 2025, OSMEA Team https://github.com/masterfabric-mobile/osmea/tree/dev/packages/core

Authentication view with Sign In and Sign Up tabs Uses MasterViewCubit for lifecycle management

Inheritance

Constructors

AuthView({required dynamic goRoute(String), Map<String, dynamic> arguments = const {}})

Properties

appBarPadding β†’ AppBarPaddingVisibility?
finalinherited
arguments β†’ Map<String, dynamic>
finalinherited
backgroundColor β†’ Color?
finalinherited
bottomNavigationBar β†’ Widget?
Optional bottom navigation bar widget for the Scaffold.
finalinherited
coreAppBar β†’ PreferredSizeWidget Function(BuildContext, AuthCubit)?
finalinherited
coreBottomBar β†’ Widget? Function(BuildContext, AuthCubit)?
finalinherited
currentView β†’ MasterViewCubitTypes
The current high-level view state used by the scaffold and snackbars.
finalinherited
customAppBarPadding β†’ double?
finalinherited
customFooterSpacerType β†’ CoreSpacerType?
finalinherited
customHorizontalPadding β†’ double?
finalinherited
customNavbarSpacerType β†’ CoreSpacerType?
finalinherited
customVerticalPadding β†’ double?
finalinherited
defaultAppBarPadding β†’ double
finalinherited
defaultFooterSpacerType β†’ CoreSpacerType
finalinherited
defaultHorizontalPadding β†’ double
finalinherited
defaultNavbarSpacerType β†’ CoreSpacerType
finalinherited
defaultVerticalPadding β†’ double
finalinherited
extendBody β†’ bool?
finalinherited
extendBodyBehindAppBar β†’ bool?
finalinherited
footerSpacer β†’ SpacerVisibility?
finalinherited
goRoute β†’ dynamic Function(String path)
finalinherited
hashCode β†’ int
The hash code for this object.
no setterinherited
horizontalPadding β†’ PaddingVisibility?
finalinherited
key β†’ Key?
Controls how one widget replaces another widget in the tree.
finalinherited
finalinherited
runtimeType β†’ Type
A representation of the runtime type of the object.
no setterinherited
showDevGrid β†’ bool
finalinherited
snackBarFunction β†’ Function
finalinherited
useSafeArea β†’ bool?
finalinherited
verticalPadding β†’ PaddingVisibility?
finalinherited

Methods

build(BuildContext context) β†’ Widget
Describes the part of the user interface represented by this widget.
inherited
buildError(String message, {VoidCallback? onRetry}) β†’ Widget
Minimal error presentation with optional retry handler.
inherited
buildLoading({Color color = Colors.blue, double size = 50.0}) β†’ Widget
Simple loading indicator for quick feedback while data loads.
inherited
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
initialContent(AuthCubit viewModel, BuildContext context) β†’ Future<void>
Called when ViewModel is ready with a BuildContext
override
inherited
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, int wrapWidth = 65}) β†’ 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
viewContent(BuildContext context, AuthCubit viewModel, AuthState state) β†’ Widget
UI content
override

Operators

operator ==(Object other) β†’ bool
The equality operator.
inherited