mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 23:08:59 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -7,7 +7,7 @@ import 'package:provider/provider.dart';
|
||||
import 'package:provider_shopper/models/cart.dart';
|
||||
|
||||
class MyCart extends StatelessWidget {
|
||||
const MyCart({Key? key}) : super(key: key);
|
||||
const MyCart({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user