Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to null safety (flutter#110)
- *Breaking* The `Font.merge` and `BoxEdge.merge` factory constructors are now static methods since a factory constructor can't return null, but that was the entire point of these constructors. - Add nullable return types on methods that have a branch returning `null`. - Add a lot of `?` on parameters that can't provably be non-null. - Add a lot of `!`. - Add overrides of `TreeNode.clone` to tighten the return type in a few places and allow some skipped explicit casts. - Remove some dead code on conditional branches that never would have been followed, even before the migration, but weren't obvious statically. - Add explicit casts.
- Loading branch information