Prepare examples for use_super_parameters (#100514)

This commit is contained in:
Michael Goderbauer
2022-03-29 12:53:08 -07:00
committed by GitHub
parent 195a1cc413
commit 91bcf4200e
23 changed files with 32 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class PlatformChannel extends StatefulWidget {
const PlatformChannel({Key? key}) : super(key: key);
const PlatformChannel({super.key});
@override
State<PlatformChannel> createState() => _PlatformChannelState();

View File

@@ -1,7 +1,7 @@
name: platform_channel
environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.17.0-0 <3.0.0"
dependencies:
flutter: