From c7d454138e75deb4c5953f6f11e944d768c499fc Mon Sep 17 00:00:00 2001 From: Zontreck Date: Fri, 3 Nov 2023 00:15:59 -0700 Subject: [PATCH] Start to add a proton submenu --- lib/home.dart | 10 ++++++---- lib/proton.dart | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 lib/proton.dart diff --git a/lib/home.dart b/lib/home.dart index 17b4d4b..6d1928d 100644 --- a/lib/home.dart +++ b/lib/home.dart @@ -55,10 +55,12 @@ class HomePageState extends State { padding: EdgeInsets.all(16), child: Column( children: [ - if(Platform.isLinux) - ListTile(title: Text("Proton"), - leading: Icon(CupertinoIcons.gear), - subtitle: Text("Linux Proton"),), // Not yet implemented + if (Platform.isLinux) + ListTile( + title: Text("Proton"), + leading: Icon(CupertinoIcons.gear), + subtitle: Text("Linux Proton"), + ), // Not yet implemented ListTile( title: Text("SteamCMD"), leading: Icon(Icons.comment_rounded), diff --git a/lib/proton.dart b/lib/proton.dart new file mode 100644 index 0000000..afe978a --- /dev/null +++ b/lib/proton.dart @@ -0,0 +1,17 @@ +import 'package:flutter/material.dart'; + +class Proton extends StatefulWidget { + Proton({super.key}); + + @override + ProtonState createState() => ProtonState(); +} + +class ProtonState extends State { + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar(title: Text("Proton Manager")), + ); + } +}