Skip to content

Experimenting with null safety in Flutter

Michael Thomsen edited this page Nov 19, 2020 · 24 revisions

A loose collection of notes about null safety in Flutter.

Flutter beta build

Flutter supports null safety in the beta channel. starting with build 1.24.0-10.2.pre.

You can change to the beta channel with flutter channel beta followed by flutter upgrade.

Enabling null safety

To enable null safety in a new package or app, see the null safety introduction.

Migrating packages to null safety

See the null safety migration guide.

More information

A good example of this is the Flutter null safety sample.

How to file bugs or request changes

If you find bugs or have suggestions in the core Dart null safety language feature or tooling, please file an issue here.

If you find bugs or have suggestions in the Flutter null safe APIs or tools, please file an issue here.

Other useful links

Flutter Wiki

Process

Framework repo

Engine repo

Android

Plugins and packages repos

Infrastructure

Release Information

Experimental features

Clone this wiki locally