mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
veggieseasons: Migrate to null safety (#922)
This commit is contained in:
@@ -115,7 +115,7 @@ abstract class Styles {
|
||||
|
||||
static const appBackground = Color(0xffd0d0d0);
|
||||
|
||||
static Color scaffoldBackground(Brightness brightness) =>
|
||||
static Color? scaffoldBackground(Brightness brightness) =>
|
||||
brightness == Brightness.light
|
||||
? CupertinoColors.lightBackgroundGray
|
||||
: null;
|
||||
|
||||
Reference in New Issue
Block a user