SocialLoginButton class
Constructors
-
SocialLoginButton({Key? key, required SocialLoginButtonType buttonType, required VoidCallback? onPressed, String? imageURL, String? imagePath, String? text, Color? backgroundColor, Color? disabledBackgroundColor, Color? textColor, double? height = 55.0, double? borderRadius = 4.0, double? fontSize = 15.0, double? width, double? imageWidth = 45, SocialLoginButtonMode? mode = SocialLoginButtonMode.multi})
-
Properties
-
backgroundColor
↔ Color?
-
Background Color, an optional param can be used to override default
background color.
getter/setter pair
-
borderRadius
↔ double?
-
Border Radius text, an optional param can be used to override default
border radius, which is 4.0.
getter/setter pair
-
buttonType
→ SocialLoginButtonType
-
Button Type
final
-
disabledBackgroundColor
↔ Color?
-
Grey out color, an optional param can be used to override default
background Color when button is in disabled state.
getter/setter pair
-
fontSize
↔ double?
-
Font Size, an optional param can be used to override default font size,
which is 15.0
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
height
↔ double?
-
Height, an optional param can be used to override default height of button,
which is 55.0
getter/setter pair
-
imagePath
↔ String?
-
Image Path (increase you want to use local image), an optional param can be
used to override default image.
getter/setter pair
-
imageURL
↔ String?
-
Image URL (increase you want to use network image), an optional param can be
used to override default image.
getter/setter pair
-
imageWidth
↔ double?
-
Image Width, an optional param can be used to override default button
image width which is 45.0.
getter/setter pair
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
mode
↔ SocialLoginButtonMode?
-
Button Mode, an optional param, can be used to create single style button.
getter/setter pair
-
onPressed
→ VoidCallback?
-
Action onPressed
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
↔ String?
-
Button text, an optional param can be used to override default text
getter/setter pair
-
textColor
↔ Color?
-
Text Color, an optional param can be used to override default text color.
getter/setter pair
-
width
↔ double?
-
Width, an optional param can be used to override default button Width.
getter/setter pair