From ce87fb232417a4d64086ba090c75edab5112ff6c Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 16 May 2022 07:53:52 +0700 Subject: [PATCH] Rename lottieanims to lottie --- assets/{lottieanims => lottie}/forgot_pass_body.json | 0 assets/{lottieanims => lottie}/login_error.json | 0 assets/{lottieanims => lottie}/login_form.json | 0 assets/{lottieanims => lottie}/otp.json | 0 assets/{lottieanims => lottie}/register_error.json | 0 assets/{lottieanims => lottie}/register_form.json | 0 assets/{lottieanims => lottie}/register_verify.json | 0 lib/components/forgot_pass_body.dart | 2 +- lib/components/login_error.dart | 2 +- lib/components/login_form.dart | 2 +- lib/components/otp_body.dart | 2 +- lib/components/register_error.dart | 2 +- lib/components/register_form.dart | 2 +- lib/components/register_verify.dart | 2 +- pubspec.yaml | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) rename assets/{lottieanims => lottie}/forgot_pass_body.json (100%) rename assets/{lottieanims => lottie}/login_error.json (100%) rename assets/{lottieanims => lottie}/login_form.json (100%) rename assets/{lottieanims => lottie}/otp.json (100%) rename assets/{lottieanims => lottie}/register_error.json (100%) rename assets/{lottieanims => lottie}/register_form.json (100%) rename assets/{lottieanims => lottie}/register_verify.json (100%) diff --git a/assets/lottieanims/forgot_pass_body.json b/assets/lottie/forgot_pass_body.json similarity index 100% rename from assets/lottieanims/forgot_pass_body.json rename to assets/lottie/forgot_pass_body.json diff --git a/assets/lottieanims/login_error.json b/assets/lottie/login_error.json similarity index 100% rename from assets/lottieanims/login_error.json rename to assets/lottie/login_error.json diff --git a/assets/lottieanims/login_form.json b/assets/lottie/login_form.json similarity index 100% rename from assets/lottieanims/login_form.json rename to assets/lottie/login_form.json diff --git a/assets/lottieanims/otp.json b/assets/lottie/otp.json similarity index 100% rename from assets/lottieanims/otp.json rename to assets/lottie/otp.json diff --git a/assets/lottieanims/register_error.json b/assets/lottie/register_error.json similarity index 100% rename from assets/lottieanims/register_error.json rename to assets/lottie/register_error.json diff --git a/assets/lottieanims/register_form.json b/assets/lottie/register_form.json similarity index 100% rename from assets/lottieanims/register_form.json rename to assets/lottie/register_form.json diff --git a/assets/lottieanims/register_verify.json b/assets/lottie/register_verify.json similarity index 100% rename from assets/lottieanims/register_verify.json rename to assets/lottie/register_verify.json diff --git a/lib/components/forgot_pass_body.dart b/lib/components/forgot_pass_body.dart index a53069f..c40cb6d 100644 --- a/lib/components/forgot_pass_body.dart +++ b/lib/components/forgot_pass_body.dart @@ -21,7 +21,7 @@ class _ForgotPassBodyState extends State { child: ListView( children: [ Container( - child: Lottie.asset('assets/lottieanims/forgot_pass_body.json'), + child: Lottie.asset('assets/lottie/forgot_pass_body.json'), ), Container( padding: const EdgeInsets.only(top: 25), diff --git a/lib/components/login_error.dart b/lib/components/login_error.dart index 7adc691..e732297 100644 --- a/lib/components/login_error.dart +++ b/lib/components/login_error.dart @@ -47,7 +47,7 @@ class LoginErrorState extends State { mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Lottie.asset( - "assets/lottieanims/login_error.json", + "assets/lottie/login_error.json", frameRate: FrameRate.max, alignment: Alignment.center, height: 350, diff --git a/lib/components/login_form.dart b/lib/components/login_form.dart index 33eb804..7ced491 100644 --- a/lib/components/login_form.dart +++ b/lib/components/login_form.dart @@ -214,7 +214,7 @@ class LoginFormState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Lottie.asset( - "assets/lottieanims/login_form.json", + "assets/lottie/login_form.json", frameRate: FrameRate.max, alignment: Alignment.center, fit: BoxFit.fitHeight, diff --git a/lib/components/otp_body.dart b/lib/components/otp_body.dart index 95093ac..5a9bc27 100644 --- a/lib/components/otp_body.dart +++ b/lib/components/otp_body.dart @@ -16,7 +16,7 @@ class _OtpBodyState extends State { padding: const EdgeInsets.all(25), child: ListView(children: [ Container( - child: Lottie.asset('assets/lottieanims/otp.json'), + child: Lottie.asset('assets/lottie/otp.json'), ), Container( padding: const EdgeInsets.only(top: 15), diff --git a/lib/components/register_error.dart b/lib/components/register_error.dart index 982be21..d6fc75f 100644 --- a/lib/components/register_error.dart +++ b/lib/components/register_error.dart @@ -47,7 +47,7 @@ class RegisterErrorState extends State { mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Lottie.asset( - "assets/lottieanims/register_error.json", + "assets/lottie/register_error.json", frameRate: FrameRate.max, alignment: Alignment.center, height: 350, diff --git a/lib/components/register_form.dart b/lib/components/register_form.dart index beeb293..c465a62 100644 --- a/lib/components/register_form.dart +++ b/lib/components/register_form.dart @@ -60,7 +60,7 @@ class RegisterFormState extends State { mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Lottie.asset( - "assets/lottieanims/register_form.json", + "assets/lottie/register_form.json", frameRate: FrameRate.max, alignment: Alignment.center, fit: BoxFit.fitHeight, diff --git a/lib/components/register_verify.dart b/lib/components/register_verify.dart index a1456ee..1fc630f 100644 --- a/lib/components/register_verify.dart +++ b/lib/components/register_verify.dart @@ -47,7 +47,7 @@ class RegisterVerifyState extends State { mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Lottie.asset( - "assets/lottieanims/register_verify.json", + "assets/lottie/register_verify.json", frameRate: FrameRate.max, alignment: Alignment.center, height: 350, diff --git a/pubspec.yaml b/pubspec.yaml index bc4f5e6..ae6f3a7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -70,7 +70,7 @@ flutter: # To add assets to your application, add an assets section, like this: assets: - assets/ - - assets/lottieanims/ + - assets/lottie/ - assets/fonts/ - assets/icons/ # An image asset can refer to one or more resolution-specific "variants", see