Rename lottieanims to lottie

This commit is contained in:
Moe Poi ~ 2022-05-16 07:53:52 +07:00
parent 1601a544a2
commit ce87fb2324
15 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@ class _ForgotPassBodyState extends State<ForgotPassBody> {
child: ListView( child: ListView(
children: [ children: [
Container( Container(
child: Lottie.asset('assets/lottieanims/forgot_pass_body.json'), child: Lottie.asset('assets/lottie/forgot_pass_body.json'),
), ),
Container( Container(
padding: const EdgeInsets.only(top: 25), padding: const EdgeInsets.only(top: 25),

View file

@ -47,7 +47,7 @@ class LoginErrorState extends State<LoginError> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Lottie.asset( Lottie.asset(
"assets/lottieanims/login_error.json", "assets/lottie/login_error.json",
frameRate: FrameRate.max, frameRate: FrameRate.max,
alignment: Alignment.center, alignment: Alignment.center,
height: 350, height: 350,

View file

@ -214,7 +214,7 @@ class LoginFormState extends State<LoginForm> {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Lottie.asset( Lottie.asset(
"assets/lottieanims/login_form.json", "assets/lottie/login_form.json",
frameRate: FrameRate.max, frameRate: FrameRate.max,
alignment: Alignment.center, alignment: Alignment.center,
fit: BoxFit.fitHeight, fit: BoxFit.fitHeight,

View file

@ -16,7 +16,7 @@ class _OtpBodyState extends State<OtpBody> {
padding: const EdgeInsets.all(25), padding: const EdgeInsets.all(25),
child: ListView(children: [ child: ListView(children: [
Container( Container(
child: Lottie.asset('assets/lottieanims/otp.json'), child: Lottie.asset('assets/lottie/otp.json'),
), ),
Container( Container(
padding: const EdgeInsets.only(top: 15), padding: const EdgeInsets.only(top: 15),

View file

@ -47,7 +47,7 @@ class RegisterErrorState extends State<RegisterError> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Lottie.asset( Lottie.asset(
"assets/lottieanims/register_error.json", "assets/lottie/register_error.json",
frameRate: FrameRate.max, frameRate: FrameRate.max,
alignment: Alignment.center, alignment: Alignment.center,
height: 350, height: 350,

View file

@ -60,7 +60,7 @@ class RegisterFormState extends State<RegisterForm> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Lottie.asset( Lottie.asset(
"assets/lottieanims/register_form.json", "assets/lottie/register_form.json",
frameRate: FrameRate.max, frameRate: FrameRate.max,
alignment: Alignment.center, alignment: Alignment.center,
fit: BoxFit.fitHeight, fit: BoxFit.fitHeight,

View file

@ -47,7 +47,7 @@ class RegisterVerifyState extends State<RegisterVerify> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Lottie.asset( Lottie.asset(
"assets/lottieanims/register_verify.json", "assets/lottie/register_verify.json",
frameRate: FrameRate.max, frameRate: FrameRate.max,
alignment: Alignment.center, alignment: Alignment.center,
height: 350, height: 350,

View file

@ -70,7 +70,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/
- assets/lottieanims/ - assets/lottie/
- assets/fonts/ - assets/fonts/
- assets/icons/ - assets/icons/
# 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