mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
initialized Application theme
This commit is contained in:
20
lib/features/shared_widgets/syncrow_logo.dart
Normal file
20
lib/features/shared_widgets/syncrow_logo.dart
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user