initialized Application theme

This commit is contained in:
Mohammad Salameh
2024-02-15 14:00:09 +03:00
parent 16f47f744c
commit 3190361901
98 changed files with 871 additions and 1004 deletions

View File

@ -0,0 +1,20 @@
import 'package:flutter/material.dart';
import 'package:syncrow_app/utils/resource_manager/assets_manager.dart';
class SyncrowLogo extends StatelessWidget {
const SyncrowLogo({
super.key,
this.isDark = true,
this.width = 150,
});
final bool isDark;
final double width;
@override
Widget build(BuildContext context) {
return Image.asset(isDark ? ImageManager.blackLogo : ImageManager.whiteLogo,
scale: 1, width: width);
}
}