Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
logo_header.dart
Go to the documentation of this file.
1import 'package:flutter/material.dart';
2import 'package:flutter_screenutil/flutter_screenutil.dart';
3import 'package:flutter_svg/svg.dart';
4
5import '../../constants/assets.dart';
6
7class LogoHeader extends StatelessWidget {
8 final String title;
9 const LogoHeader({super.key, required this.title});
10
11 @override
12 Widget build(BuildContext context) {
13 return Center(
15 crossAxisAlignment: CrossAxisAlignment.center,
16 children: [
17 SizedBox(height: 9.h),
18 SvgPicture.asset(Assets.aidraLogo, height: 23.sp),
19 SizedBox(height: 3.h),
20 Text(
21 title,
22 style: Theme.of(context)
23 .textTheme
24 .displaySmall
25 ?.copyWith(fontWeight: FontWeight.w900),
26 ),
27 SizedBox(height: 5.h),
28 ],
29 ),
30 );
31 }
32}
static const String aidraLogo
Definition assets.dart:15
final String title
final Widget child
override Widget build(BuildContext context)
const LogoHeader({super.key, required this.title})
class Partner String
style Text( '${ 'scheduling.reference'.tr()}:${collection.internalCode}', style:Theme.of(context).textTheme.bodySmall,)
style SizedBox(height:2.h)
style Column(crossAxisAlignment:CrossAxisAlignment.end, children:[Container(padding:EdgeInsets.symmetric(horizontal:8.w, vertical:4.h), decoration:BoxDecoration(color:ColorPalette.tiffanyBlue.withValues(alpha:0.1), borderRadius:BorderRadius.circular(12),), child:Text(collection.type ?? '', style:Theme.of(context).textTheme.bodySmall?.copyWith(color:ColorPalette.tiffanyBlue, fontWeight:FontWeight.bold,),),),],)