网络文章-v1

This commit is contained in:
toly
2023-05-17 09:18:42 +08:00
parent f1b902ab58
commit 5c706fb9ae
13 changed files with 286 additions and 51 deletions

View File

@@ -17,30 +17,17 @@ class PaperAppBar extends StatelessWidget implements PreferredSizeWidget {
@override
Widget build(BuildContext context) {
return AppBar(
centerTitle: true,
elevation: 0,
systemOverlayStyle: const SystemUiOverlayStyle(
statusBarIconBrightness: Brightness.dark,
statusBarColor: Colors.transparent),
backgroundColor: Colors.white,
leading: BackUpButtons(
onBack: onBack,
onRevocation: onRevocation,
),
leadingWidth: 100,
title: Text(
'画板绘制',
style: TextStyle(color: Colors.black, fontSize: 16),
),
title: Text('画板绘制'),
actions: [
IconButton(
splashRadius: 20,
onPressed: onClear,
icon: Icon(
CupertinoIcons.delete,
color: Colors.black,
size: 20,
))
icon: Icon(CupertinoIcons.delete, size: 20))
],
);
}