mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
web/charts: Migrate to null safety (#921)
This commit is contained in:
@@ -51,12 +51,10 @@ class Home extends StatelessWidget {
|
||||
final legendsGalleries = legends.buildGallery();
|
||||
|
||||
Home(
|
||||
{Key key,
|
||||
this.showPerformanceOverlay,
|
||||
@required this.onShowPerformanceOverlayChanged})
|
||||
: super(key: key) {
|
||||
assert(onShowPerformanceOverlayChanged != null);
|
||||
}
|
||||
{Key? key,
|
||||
required this.showPerformanceOverlay,
|
||||
required this.onShowPerformanceOverlayChanged})
|
||||
: super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user