diff --git a/lib/main.dart b/lib/main.dart index a6b972d..dca254e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -101,7 +101,6 @@ class _MyHomePageState extends State { ); final uptime = await client.run('uptime'); - print(uptime); setState(() { _output = utf8.decode(uptime); }); @@ -672,13 +671,13 @@ class KeepOrDeleteKey extends StatelessWidget { ); final buttonStyleKeepActive = ButtonStyle( - backgroundColor: MaterialStateProperty.all(Colors.blue), - foregroundColor: MaterialStateProperty.all(Colors.white), + backgroundColor: WidgetStateProperty.all(Colors.blue), + foregroundColor: WidgetStateProperty.all(Colors.white), ); final buttonStyleDeleteActive = ButtonStyle( - backgroundColor: MaterialStateProperty.all(Colors.red), - foregroundColor: MaterialStateProperty.all(Colors.white), + backgroundColor: WidgetStateProperty.all(Colors.red), + foregroundColor: WidgetStateProperty.all(Colors.white), ); ButtonStyle? buttonStyleKeep;