TF-2857 Change logo & text in application

This commit is contained in:
dab246
2024-06-06 00:04:25 +07:00
committed by Dat H. Pham
parent d2a48cd6ab
commit 2228d1a5d8
11 changed files with 132 additions and 85 deletions
@@ -0,0 +1,25 @@
import 'package:core/presentation/resources/image_paths.dart';
import 'package:core/presentation/views/button/tmail_button_widget.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class ApplicationLogoWidthTextWidget extends StatelessWidget {
final ImagePaths _imagePaths = Get.find<ImagePaths>();
final VoidCallback? onTapAction;
ApplicationLogoWidthTextWidget({super.key, this.onTapAction});
@override
Widget build(BuildContext context) {
return TMailButtonWidget.fromIcon(
icon: _imagePaths.icLogoWithText,
iconSize: 33,
padding: EdgeInsets.zero,
backgroundColor: Colors.transparent,
hoverColor: Colors.transparent,
onTapActionCallback: onTapAction,
);
}
}