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

RaisedButton is not deifined #2

Open
hadimajidi opened this issue Oct 9, 2022 · 1 comment
Open

RaisedButton is not deifined #2

hadimajidi opened this issue Oct 9, 2022 · 1 comment

Comments

@hadimajidi
Copy link

Failure Logs

[{
"resource": "/c:/src/argon-flutter-master/lib/screens/elements.dart",
"owner": "generated_diagnostic_collection_name#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"external": "https://dart.dev/diagnostics/undefined_method",
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'RaisedButton' isn't defined for the type '_ElementsState'.\nTry correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.",
"source": "dart",
"startLineNumber": 58,
"startColumn": 26,
"endLineNumber": 58,
"endColumn": 38
}]

[{
"resource": "/c:/src/argon-flutter-master/lib/screens/onboarding.dart",
"owner": "generated_diagnostic_collection_name#1",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"external": "https://dart.dev/diagnostics/undefined_method",
"path": "/diagnostics/undefined_method",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The method 'FlatButton' isn't defined for the type 'Onboarding'.\nTry correcting the name to the name of an existing method, or defining a method named 'FlatButton'.",
"source": "dart",
"startLineNumber": 54,
"startColumn": 28,
"endLineNumber": 54,
"endColumn": 38
}]

@robert-stevens
Copy link

RaisedButton is now deprecated and replaced by ElevatedButton.

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

2 participants