Open vinothvino42 opened 4 years ago
This is a dup of https://github.com/tomgilder/flutter_apple_sign_in/issues/55
@bravsoul @vinothvino42 @tomgilder Any update with this?
@bravsoul @vinothvino42 @tomgilder Any update with this?
No, Better you modify the name of ButtonStyle
enumeration in the apple_sign_in/apple_sign_in_button.dart
to AppleButtonStyle
.
@bravsoul @vinothvino42 @tomgilder
Hey I tried like this for me it's working,
import header like this;
import 'package:apple_sign_in/apple_sign_in.dart' as apple;
then;
AppleSignInButton(
style: apple.ButtonStyle.black,
type: ButtonType.continueButton,
onPressed: () {
},
)
ButtonStyle is already defined in the
flutter/src/material/button_style.dart
, so need to change the name of theButtonStyle
enum fromapple_sign_in/apple_sign_in_button
to any other.Flutter Doctor Summary