build: Update packages and flutter super.key refactoring
This commit is contained in:
parent
4605a92d17
commit
eca4825c70
129 changed files with 294 additions and 324 deletions
|
|
@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
|
|||
class EmptyPage extends StatelessWidget {
|
||||
final bool loading;
|
||||
static const double _width = 300;
|
||||
const EmptyPage({this.loading = false, Key? key}) : super(key: key);
|
||||
const EmptyPage({this.loading = false, super.key});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final width = min(MediaQuery.of(context).size.width, EmptyPage._width) / 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue