[pve-devel] [PATCH pve-flutter-frontend 06/10] move to ElevatedButton from RaisedButton

Dominik Csapak d.csapak at proxmox.com
Thu Sep 8 11:55:46 CEST 2022


flutter 3.0 removed RaisedButton

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 lib/widgets/firstWelcomeScreen/pve_welcome_last.dart | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/widgets/firstWelcomeScreen/pve_welcome_last.dart b/lib/widgets/firstWelcomeScreen/pve_welcome_last.dart
index 3a6391e..f0fa0c2 100644
--- a/lib/widgets/firstWelcomeScreen/pve_welcome_last.dart
+++ b/lib/widgets/firstWelcomeScreen/pve_welcome_last.dart
@@ -36,10 +36,12 @@ class PveWelcomePageLast extends StatelessWidget {
                       ),
                       Padding(
                         padding: const EdgeInsets.all(8.0),
-                        child: RaisedButton(
+                        child: ElevatedButton(
                           onPressed: () => {onDone!()},
-                          color: ProxmoxColors.orange,
-                          textColor: Colors.white,
+                          style: ElevatedButton.styleFrom(
+                            backgroundColor: ProxmoxColors.orange,
+                            foregroundColor: Colors.white,
+                          ),
                           child: Text("Start"),
                         ),
                       ),
-- 
2.30.2






More information about the pve-devel mailing list