null safety

This commit is contained in:
phyothandar
2021-09-10 16:48:21 +06:30
parent 03c5fc5016
commit bb4f4ad7c2
40 changed files with 393 additions and 352 deletions

View File

@@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
class BoxRow extends StatelessWidget {
final Carton box;
const BoxRow({Key key, this.box}) : super(key: key);
const BoxRow({Key? key, required this.box}) : super(key: key);
@override
Widget build(BuildContext context) {