Skip to content

Update starter code for Dart 3 & null safety.#45

Open
Alexa-dev-ops wants to merge 1 commit into
londonappbrewery:masterfrom
Alexa-dev-ops:update-starter-code
Open

Update starter code for Dart 3 & null safety.#45
Alexa-dev-ops wants to merge 1 commit into
londonappbrewery:masterfrom
Alexa-dev-ops:update-starter-code

Conversation

@Alexa-dev-ops

Copy link
Copy Markdown

This update brings the project in line with Dart 3 and the latest stable version of Flutter. I updated the SDK constraints and dependencies (such as cupertino_icons) to support null safety and avoid version resolution errors. These changes ensure that new learners can run the project seamlessly without encountering compatibility issues when setting up their environment.

In addition, I replaced deprecated Flutter widgets like FlatButton and RaisedButton with their modern equivalents (TextButton, ElevatedButton, etc.) to reflect current best practices. This will help learners follow along with up-to-date code and adopt the recommended Flutter APIs from the start.

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

Successfully merging this pull request may close these issues.

1 participant