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:
committed by
GitHub
parent
5b87e4fba4
commit
58454e9e31
@@ -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());
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user