对接连续任务列表接口和连续任务下发,便捷操作中暂停任务的对接,底部导航tab项的设置根据用户角色显示和设置
This commit is contained in:
18
lib/components/app_logo.dart
Normal file
18
lib/components/app_logo.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppLogo extends StatelessWidget {
|
||||
const AppLogo({super.key, required this.size});
|
||||
|
||||
final double size;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Image.asset(
|
||||
'assets/images/app_logo.png',
|
||||
width: size,
|
||||
height: size,
|
||||
fit: BoxFit.contain,
|
||||
cacheWidth: (size * MediaQuery.devicePixelRatioOf(context)).ceil(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user