forked from alexvasl/drifter_app
Compare commits
2 Commits
a5a6133a40
...
f6a466872f
Author | SHA1 | Date | |
---|---|---|---|
f6a466872f | |||
795afcb0f4 |
@ -4,6 +4,9 @@ import 'package:drifter/pages/main_screen/main_screen_widget.dart';
|
|||||||
import 'package:drifter/theme/app_colors.dart';
|
import 'package:drifter/theme/app_colors.dart';
|
||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_svg/svg.dart';
|
||||||
|
|
||||||
|
import '../../utilities/assets.dart';
|
||||||
|
|
||||||
class Splash extends StatefulWidget {
|
class Splash extends StatefulWidget {
|
||||||
const Splash({super.key});
|
const Splash({super.key});
|
||||||
@ -31,12 +34,23 @@ class _SplashState extends State<Splash> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 300,
|
height: 200,
|
||||||
|
),
|
||||||
|
SvgPicture.asset(
|
||||||
|
Assets.svg.drifterIcon,
|
||||||
|
height: 150,
|
||||||
|
width: 150,
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
const Text(
|
||||||
|
"Drifter",
|
||||||
|
style: TextStyle(
|
||||||
|
color: AppColors.mainAccent,
|
||||||
|
fontSize: 50,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
),
|
),
|
||||||
Image.asset(
|
|
||||||
'assets/images/logo/drifter_vector.png',
|
|
||||||
height: 111,
|
|
||||||
width: 93,
|
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 250,
|
height: 250,
|
||||||
@ -50,7 +64,8 @@ class _SplashState extends State<Splash> {
|
|||||||
radius: 20,
|
radius: 20,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ flutter:
|
|||||||
|
|
||||||
# To add assets to your application, add an assets section, like this:
|
# To add assets to your application, add an assets section, like this:
|
||||||
assets:
|
assets:
|
||||||
- assets/
|
- assets/images
|
||||||
# - images/a_dot_ham.jpeg
|
# - images/a_dot_ham.jpeg
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
|
Loading…
Reference in New Issue
Block a user