feat : logo widget title
This commit is contained in:
@@ -2,7 +2,8 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:rasadyar_core/core.dart';
|
import 'package:rasadyar_core/core.dart';
|
||||||
|
|
||||||
class LogoWidget extends StatelessWidget {
|
class LogoWidget extends StatelessWidget {
|
||||||
const LogoWidget({super.key});
|
const LogoWidget({super.key, this.title});
|
||||||
|
final String? title ;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@@ -14,7 +15,7 @@ class LogoWidget extends StatelessWidget {
|
|||||||
height: 120.h,
|
height: 120.h,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'سامانه رصدیار',
|
title??'سامانه رصدیار',
|
||||||
style: AppFonts.yekan16.copyWith(color: AppColor.darkGreyNormal),
|
style: AppFonts.yekan16.copyWith(color: AppColor.darkGreyNormal),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user