added padding to images

This commit is contained in:
amirrezaghabeli
2025-09-23 13:37:25 +03:30
parent f1214d8a28
commit cc9370cda6
3 changed files with 13 additions and 3 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ class _DesktopSplashPageState extends State<DesktopSplashPage> {
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Image.asset(AssetsManager.logoBigPng, fit: BoxFit.cover),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 100),
child: Image.asset(AssetsManager.logoBigPng),
),
),
);
}
+5 -1
View File
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:tm_app/core/constants/assets.dart';
import 'package:tm_app/core/routes/app_routes.dart';
import 'package:tm_app/core/utils/size_config.dart';
import 'package:tm_app/view_models/auth_view_model.dart';
class MobileSplashPage extends StatefulWidget {
@@ -45,7 +46,10 @@ class _MobileSplashPageState extends State<MobileSplashPage> {
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Image.asset(AssetsManager.logoBigPng, fit: BoxFit.cover),
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 24.0.w()),
child: Image.asset(AssetsManager.logoBigPng, fit: BoxFit.cover),
),
),
);
}
+4 -1
View File
@@ -42,7 +42,10 @@ class _TabletSplashPageState extends State<TabletSplashPage> {
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Image.asset(AssetsManager.logoBigPng, fit: BoxFit.cover),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 40),
child: Image.asset(AssetsManager.logoBigPng),
),
),
);
}