added padding to images
This commit is contained in:
@@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user