将诊断功能从首页拆分至独立页面

This commit is contained in:
2024-02-16 23:32:16 +08:00
parent 066bf11275
commit 27640ec6b7
7 changed files with 431 additions and 338 deletions

View File

@ -1,3 +1,4 @@
import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:starcitizen_doctor/main.dart';
@ -102,11 +103,13 @@ abstract class BaseUI<T extends BaseUIModel>
automaticallyImplyLeading: automaticallyImplyLeading,
title: DragToMoveArea(
child: titleRow ??
Row(
children: [
Text(getUITitle(context, model)),
],
),
Column(children: [Expanded(
child: Row(
children: [
Text(getUITitle(context, model)),
],
),
)],),
),
actions: Row(
mainAxisAlignment: MainAxisAlignment.end,