MyDoc class

로그인 사용자 정보가 변경될 때마다 rebuild 를 하는 위젯

UserDoc 위젯은 캐시를 해서, 1회성으로 데이터를 가져오지면, 이 위젯은 로그인을 한 사용자의, 'users/

사용자 문서가 로드되지 않은 경우, (주로, 처음 앱을 실행하는 경우) builder 로 null 이 전달될 수 있다.

Inheritance

Constructors

MyDoc({Key? key, required dynamic builder(User? user)})
const

Properties

builder → dynamic Function(User? user)
final
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 Methods

field(String field, {required dynamic builder(dynamic value)}) Widget
로그인한 사용자의 DB 에서 하나의 값을 모니터링 한다.