Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"flutter_platform_widgets" Dependency Error #34

Open
AyberkAhmet opened this issue Mar 17, 2023 · 0 comments
Open

"flutter_platform_widgets" Dependency Error #34

AyberkAhmet opened this issue Mar 17, 2023 · 0 comments

Comments

@AyberkAhmet
Copy link

/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:269:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformButton'.
'PlatformButton' is from 'package:flutter_platform_widgets/src/platform_button.dart' ('/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart').
platform_button.dart:1
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
return FlatButton(

/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:302:12: Error: The method 'RaisedButton' isn't defined for the class 'PlatformButton'.
'PlatformButton' is from 'package:flutter_platform_widgets/src/platform_button.dart' ('/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart').
platform_button.dart:1
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
return RaisedButton(

/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart:171:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformDialogAction'.
'PlatformDialogAction' is from 'package:flutter_platform_widgets/src/platform_dialog_action.dart' ('/C:/Users/Ayberk.A/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart').
platform_dialog_action.dart:1
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
return FlatButton(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant