Frontend first draft
This commit is contained in:
15
frontend/pweb/lib/widgets/logo.dart
Normal file
15
frontend/pweb/lib/widgets/logo.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
||||
class ServiceLogo extends StatelessWidget {
|
||||
final double size;
|
||||
|
||||
const ServiceLogo({ super.key, this.size = 48 });
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => SizedBox(
|
||||
height: size,
|
||||
width: size,
|
||||
child: Image.asset('resources/logo.png'),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user