Login class
The user has logged in Firebase and the UID is ready.
Firebase Auth 에 로그인을 한 경우, builder(uid) 가 실행된다. 만약, 로그인을 하지 않은 상태이면, notLogin() 이 실행된다.
참고로, Firebase Realtime Database 의 사용자 문서가 로딩되지 않아도, Firebase Auth 에 로그인이 되면 이 함수의 builder 가 실행된다.
yes 옵션이며, 로그인이 되면 실행되는 콜백 함수. 사용자 UID 가 전달됨. 옵션 함수로 생략되면, 로그인을 한 경우 아무것도 표시되지 않는다.
no 로그인이 되지 않으면 실행되는 함수. 옵션 함수로 생략되면, 로그인이 되지 않은 경우 아무것도 표시되지 않음.
loadingBuider 로그인 상태를 확인하는 중에 실행되는 함수.
- 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
- loadingBuider → (Widget Function()?)
-
final
- no → (Widget Function()?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- yes → (Widget Function(String)?)
-
final
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