Make emptyState null safe
This commit is contained in:
parent
077b246e83
commit
0d622f0ed1
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue