This commit is contained in:
toly
2023-12-11 21:53:27 +08:00
parent 838d6aa668
commit 25e51d789f
104 changed files with 6414 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
import 'package:flutter/material.dart';
import '../../components/components.dart';
class AppTopBar extends StatelessWidget {
const AppTopBar({super.key});
@override
Widget build(BuildContext context) {
return DragToMoveWrap(
child: const Row(
children: [
SizedBox(width: 20,),
// Text(
// '404 界面丢失',
// style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),
// ),
Spacer(),
WindowButtons()
],
),
);
}
}

View File

@@ -0,0 +1,22 @@
import 'package:flutter/material.dart';
class TopLogo extends StatelessWidget {
const TopLogo({super.key});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0,vertical: 8),
child: Row(
children: [
FlutterLogo(),
const SizedBox(width: 8,),
Text(
'Flutter Books',
style: TextStyle(color: Colors.white,fontWeight: FontWeight.bold,fontSize: 16),
)
],
),
);
}
}