remove unused members in executable libs (#107464)
This commit is contained in:
committed by
GitHub
parent
cfff88b26a
commit
93a74ca9f2
@@ -4,15 +4,6 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ColorTestingDemo extends StatelessWidget {
|
||||
const ColorTestingDemo({ super.key });
|
||||
|
||||
static const String routeName = '/color_demo';
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => const ColorDemoHome();
|
||||
}
|
||||
|
||||
class ColorDemoHome extends StatelessWidget {
|
||||
const ColorDemoHome({super.key});
|
||||
|
||||
|
||||
@@ -11,24 +11,6 @@ void main() {
|
||||
));
|
||||
}
|
||||
|
||||
class DemoButton extends StatelessWidget {
|
||||
const DemoButton({super.key, required this.name});
|
||||
|
||||
final String name;
|
||||
|
||||
void _handleOnPressed() {
|
||||
print('Button $name pressed.');
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return TextButton(
|
||||
onPressed: () => _handleOnPressed(),
|
||||
child: Text(name),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class HoverDemo extends StatefulWidget {
|
||||
const HoverDemo({super.key});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user