Make emptyState null safe

This commit is contained in:
Neeraj Gupta 2022-11-06 15:04:56 +05:30
parent 077b246e83
commit 0d622f0ed1
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -1,12 +1,10 @@
// @dart=2.9
import 'package:flutter/material.dart';
import 'package:photos/ente_theme_data.dart';
class EmptyState extends StatelessWidget {
final String text;
const EmptyState({Key key, this.text = "Nothing to see here! 👀"})
const EmptyState({Key? key, this.text = "Nothing to see here! 👀"})
: super(key: key);
@override