TIF_E41211491/lib/app/modules/splash/views/splash_view.dart

55 lines
1.5 KiB
Dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../controllers/splash_controller.dart';
class SplashView extends GetView<SplashController> {
const SplashView({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
final query = MediaQuery.of(context);
return MediaQuery(
data: query.copyWith(
textScaleFactor: query.textScaleFactor.clamp(1.0, 1.15)),
child: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(
padding: const EdgeInsets.only(top: 20),
child: Image.asset(
"assets/logo_dikantin.png",
width: MediaQuery.of(context).size.width / 1,
height: MediaQuery.of(context).size.height / 2,
fit: BoxFit.fill,
),
),
SizedBox(
height: MediaQuery.of(context).size.height / 5,
),
Padding(
padding: const EdgeInsets.only(bottom: 10),
child: Text(
"Copyright By : ",
style: TextStyle(
fontSize: 15.0,
color: Colors.black,
fontWeight: FontWeight.bold),
),
),
Image.asset(
"assets/jti_nova.png",
width: 120,
height: 40,
fit: BoxFit.fill,
),
],
),
),
);
}
}