GoogleLoginButton class

구글 로그인 버튼

구글 공식 브랜딩 가이드라인 준수:

  • 배경색: #FFFFFF
  • 텍스트색: #1F1F1F
  • Border: #747775 (1px)
  • 아이콘: 멀티컬러 G 로고 필수
Inheritance

Constructors

GoogleLoginButton({Key? key, VoidCallback? onPressed, String text = 'Google로 로그인', double? width, double? height, double borderRadius = 6, ButtonSize size = ButtonSize.medium, bool isLoading = false, bool disabled = false})
구글 로그인 버튼을 생성합니다.
const
GoogleLoginButton.icon({Key? key, VoidCallback? onPressed, double? width, double? height, double borderRadius = 6, bool isLoading = false, bool disabled = false})
아이콘만 있는 버튼
const

Properties

borderRadius double
버튼 모서리 둥글기. 기본값: 6
final
disabled bool
비활성화 상태. true면 버튼을 누를 수 없음.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
버튼 높이. null이면 size에 따라 자동 결정.
final
isLoading bool
로딩 상태. true면 로딩 인디케이터 표시.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPressed VoidCallback?
버튼 클릭 콜백. null이면 버튼이 비활성화됩니다.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size ButtonSize
버튼 크기 프리셋. ButtonSize.small, ButtonSize.medium, ButtonSize.large, ButtonSize.icon
final
text String
버튼에 표시할 텍스트. 기본값: 'Google로 로그인'
final
width double?
버튼 너비. null이면 부모 위젯에 맞춤.
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, 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

Operators

operator ==(Object other) bool
The equality operator.
inherited