Remove dead code (#126266)

Dead code was flagged by `unreachable_from_main` lint, which is still experimental and not ready to be enabled yet.
This commit is contained in:
Michael Goderbauer
2023-05-09 17:47:16 +02:00
committed by GitHub
parent 5b87e4fba4
commit 58454e9e31
9 changed files with 1 additions and 30 deletions

View File

@@ -8,7 +8,6 @@ import 'package:flutter/material.dart';
const Widget divider = SizedBox(height: 10);
const double narrowScreenWidthThreshold = 400;
const double imageSize = 150;
void main() => runApp(DynamicColorExample());

View File

@@ -8,7 +8,6 @@ void main() => runApp(const MagnifierExampleApp());
class MagnifierExampleApp extends StatefulWidget {
const MagnifierExampleApp({super.key});
static const Size loupeSize = Size(200, 200);
@override
State<MagnifierExampleApp> createState() => _MagnifierExampleAppState();

View File

@@ -17,8 +17,6 @@ class TextMagnifierExampleApp extends StatelessWidget {
final TextDirection textDirection;
final String text;
static const Size loupeSize = Size(200, 200);
@override
Widget build(BuildContext context) {
return MaterialApp(