AppleLoginButton class

애플 로그인 버튼

애플 공식 Human Interface Guidelines 준수:

  • 배경색: Black 또는 White
  • 텍스트색: 배경 반대색
  • 최소 높이: 44pt
  • 심볼: 애플 로고
Inheritance

Constructors

AppleLoginButton({Key? key, VoidCallback? onPressed, String text = 'Apple로 로그인', double? width, double? height, double borderRadius = 6, bool isDark = true, ButtonSize size = ButtonSize.medium, bool isLoading = false, bool disabled = false})
애플 로그인 버튼을 생성합니다.
const
AppleLoginButton.icon({Key? key, VoidCallback? onPressed, double? width, double? height, double borderRadius = 6, bool isDark = true, 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
isDark bool
다크 모드 여부. true면 검정 배경, false면 흰색 배경.
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
버튼에 표시할 텍스트. 기본값: 'Apple로 로그인'
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