remove unused members in executable libs (#107464)
This commit is contained in:
committed by
GitHub
parent
cfff88b26a
commit
93a74ca9f2
@@ -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