From 5b36e6418b1a3f5a6045a8166b0956a59e46ccfb Mon Sep 17 00:00:00 2001 From: AnshumaliSuri Date: Mon, 6 Mar 2023 14:04:48 +0530 Subject: [PATCH] Splash Screen Created --- fuel_ease_app/assets/Logo.svg | 17 + fuel_ease_app/assets/splash_screen_pic.svg | 9 + .../ios/Runner.xcodeproj/project.pbxproj | 4 +- fuel_ease_app/lib/main.dart | 8 +- fuel_ease_app/lib/screens/splash_screen.dart | 290 ++++++++++++++++++ fuel_ease_app/lib/screens/trial.dart | 58 ++++ fuel_ease_app/lib/widgets/page_swipe.dart | 42 +++ .../macos/Runner.xcodeproj/project.pbxproj | 9 +- fuel_ease_app/pubspec.lock | 165 ++++++++-- fuel_ease_app/pubspec.yaml | 7 +- 10 files changed, 565 insertions(+), 44 deletions(-) create mode 100644 fuel_ease_app/assets/Logo.svg create mode 100644 fuel_ease_app/assets/splash_screen_pic.svg create mode 100644 fuel_ease_app/lib/screens/splash_screen.dart create mode 100644 fuel_ease_app/lib/screens/trial.dart create mode 100644 fuel_ease_app/lib/widgets/page_swipe.dart diff --git a/fuel_ease_app/assets/Logo.svg b/fuel_ease_app/assets/Logo.svg new file mode 100644 index 0000000..29bcb93 --- /dev/null +++ b/fuel_ease_app/assets/Logo.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/fuel_ease_app/assets/splash_screen_pic.svg b/fuel_ease_app/assets/splash_screen_pic.svg new file mode 100644 index 0000000..f36489d --- /dev/null +++ b/fuel_ease_app/assets/splash_screen_pic.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/fuel_ease_app/ios/Runner.xcodeproj/project.pbxproj b/fuel_ease_app/ios/Runner.xcodeproj/project.pbxproj index 558bd67..64aa262 100644 --- a/fuel_ease_app/ios/Runner.xcodeproj/project.pbxproj +++ b/fuel_ease_app/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -171,6 +171,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -185,6 +186,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/fuel_ease_app/lib/main.dart b/fuel_ease_app/lib/main.dart index 604f7fb..ea16b83 100644 --- a/fuel_ease_app/lib/main.dart +++ b/fuel_ease_app/lib/main.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:fuel_ease_app/screens/splash_screen.dart'; void main() { runApp(const MyApp()); @@ -11,15 +12,12 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( + debugShowCheckedModeBanner: false, title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), - home: const Scaffold( - body: Center( - child: Text('Sample Home Page'), - ), - ), + home: Adaptive(), ); } } diff --git a/fuel_ease_app/lib/screens/splash_screen.dart b/fuel_ease_app/lib/screens/splash_screen.dart new file mode 100644 index 0000000..2e29879 --- /dev/null +++ b/fuel_ease_app/lib/screens/splash_screen.dart @@ -0,0 +1,290 @@ +// ignore_for_file: prefer_const_constructors, sort_child_properties_last, prefer_const_literals_to_create_immutables + +import 'package:flutter/material.dart'; +import 'package:flutter_screenutil/flutter_screenutil.dart'; +import 'package:flutter_svg/flutter_svg.dart'; +import 'package:fuel_ease_app/widgets/page_swipe.dart'; + +class Adaptive extends StatelessWidget { + const Adaptive({super.key}); + + @override + Widget build(BuildContext context) { + return ScreenUtilInit( + designSize: const Size(390, 844), + builder: (context, child) { + return Scaffold( + body: SplashScreen1(), + ); + }); + } +} + +class SplashScreen1 extends StatefulWidget { + const SplashScreen1({super.key}); + + @override + State createState() => _SplashScreen1State(); +} + +class _SplashScreen1State extends State { + final PageController _pageController = PageController(initialPage: 0); + int _currentIndex = 0; + @override + Widget build(BuildContext context) { + return SafeArea( + child: Stack( + children: [ + PageView( + controller: _pageController, + onPageChanged: (index) { + setState(() { + _currentIndex = index; + }); + }, + children: [ + Column( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Expanded(child: Container()), + Container( + padding: EdgeInsets.fromLTRB(0, 10.w, 25.w, 0), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(9.r), + ), + child: SizedBox( + height: 19.h, + width: 55.w, + child: ElevatedButton( + child: Text( + 'Skip', + style: TextStyle( + fontSize: 12.sp, + fontWeight: FontWeight.w400, + color: Color.fromRGBO(48, 48, 48, 1)), + ), + onPressed: () { + _pageController.animateToPage(2, + duration: Duration(milliseconds: 500), + curve: Curves.easeIn); + }, + style: ElevatedButton.styleFrom( + backgroundColor: + Color.fromRGBO(255, 96, 125, 0.6), + ), + ), + ), + ), + ], + ), + SizedBox( + height: 31.h, + ), + SvgPicture.asset( + 'assets/Logo.svg', + height: 60.h, + width: 240.w, + ), + SizedBox( + height: 150.h, + ), + // SvgPicture.asset( + // 'assets/splash_screen_pic.svg', + // height: 315.h, + // width: 453.w, + + Container( + height: 315.h, + width: MediaQuery.of(context).size.width, + child: Image.network( + 'https://img.freepik.com/premium-vector/character-filling-car-gas-station-pouring-fuel-into-vehicle-petroleum-refueling-automobile-transport-gasoline-service-drivers-benzene-ring-formula-cartoon-people-vector-illustration_87771-11191.jpg'), + ), + SizedBox( + height: 22.h, + ), + RichText( + text: TextSpan( + text: 'Welcome to ', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(250, 17, 62, 1)), + children: [ + TextSpan( + text: 'Refuelers!', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(0, 0, 0, 1)), + ), + ]), + ), + ], + ), + Column( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Expanded(child: Container()), + Container( + padding: EdgeInsets.fromLTRB(0, 10.w, 25.w, 0), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(9.r), + ), + child: SizedBox( + height: 19.h, + width: 55.w, + child: ElevatedButton( + child: Text( + 'Skip', + style: TextStyle( + fontSize: 12.sp, + fontWeight: FontWeight.w400, + color: Color.fromRGBO(48, 48, 48, 1)), + ), + onPressed: () { + _pageController.animateToPage(2, + duration: Duration(milliseconds: 250), + curve: Curves.easeIn); + }, + style: ElevatedButton.styleFrom( + backgroundColor: + Color.fromRGBO(255, 96, 125, 0.6), + ), + ), + ), + ), + ], + ), + SizedBox( + height: 31.h, + ), + SvgPicture.asset( + 'assets/Logo.svg', + height: 60.h, + width: 240.w, + ), + SizedBox( + height: 150.h, + ), + Container( + height: 315.h, + width: MediaQuery.of(context).size.width, + child: Image.network( + 'https://img.freepik.com/premium-vector/character-filling-car-gas-station-pouring-fuel-into-vehicle-petroleum-refueling-automobile-transport-gasoline-service-drivers-benzene-ring-formula-cartoon-people-vector-illustration_87771-11191.jpg'), + ), + SizedBox( + height: 22.h, + ), + RichText( + text: TextSpan( + text: 'Out Of Fuel? ', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(0, 0, 0, 1)), + children: [ + TextSpan( + text: 'No Worries!', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(250, 17, 62, 1)), + ), + ]), + ), + ], + ), + Column( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + SizedBox( + height: 30.h, + width: 55.w, + ), + SizedBox( + height: 31.h, + ), + SvgPicture.asset( + 'assets/Logo.svg', + height: 60.h, + width: 240.w, + ), + SizedBox( + height: 150.h, + ), + Container( + height: 315.h, + width: MediaQuery.of(context).size.width, + child: Image.network( + 'https://img.freepik.com/premium-vector/character-filling-car-gas-station-pouring-fuel-into-vehicle-petroleum-refueling-automobile-transport-gasoline-service-drivers-benzene-ring-formula-cartoon-people-vector-illustration_87771-11191.jpg'), + ), + SizedBox( + height: 20.h, + ), + RichText( + text: TextSpan( + text: 'Login ', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(250, 17, 62, 1)), + children: [ + TextSpan( + text: 'To Enter', + style: TextStyle( + fontSize: 18.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(0, 0, 0, 1)), + ), + ]), + ), + SizedBox( + height: 20.h, + ), + GestureDetector( + onTap: () {}, + child: Container( + decoration: BoxDecoration( + color: Color.fromRGBO(48, 48, 48, 1), + borderRadius: BorderRadius.circular(100.r), + ), + height: 45.h, + width: 302.w, + child: Center( + child: Text( + 'Refuel Now', + style: TextStyle( + fontSize: 16.sp, + fontWeight: FontWeight.w700, + color: Color.fromRGBO(255, 255, 255, 1)), + ), + ), + ), + ), + ], + ), + ], + ), + Align( + alignment: Alignment.bottomCenter, + child: Padding( + padding: EdgeInsets.only(bottom: 23.0), + child: PageSwipe( + currentIndex: _currentIndex, + pageCount: 3, + ), + ), + ), + ], + ), + ); + } +} diff --git a/fuel_ease_app/lib/screens/trial.dart b/fuel_ease_app/lib/screens/trial.dart new file mode 100644 index 0000000..2eee576 --- /dev/null +++ b/fuel_ease_app/lib/screens/trial.dart @@ -0,0 +1,58 @@ +// import 'package:flutter/material.dart'; + +// class SwappableScreen extends StatefulWidget { +// final List screens; +// SwappableScreen({Key? key, required this.screens}) : super(key: key); + +// @override +// _SwappableScreenState createState() => _SwappableScreenState(); +// } + +// class _SwappableScreenState extends State { +// late PageController _pageController; +// int _currentPageIndex = 0; + +// @override +// void initState() { +// super.initState(); +// _pageController = PageController(initialPage: _currentPageIndex); +// } + +// @override +// Widget build(BuildContext context) { +// return GestureDetector( +// onHorizontalDragEnd: (details) { +// // Check if swipe direction is right to left or left to right +// if (details.velocity.pixelsPerSecond.dx > 0) { +// // Swipe from left to right +// if (_currentPageIndex > 0) { +// setState(() { +// _currentPageIndex--; +// }); +// _pageController.animateToPage( +// _currentPageIndex, +// duration: Duration(milliseconds: 300), +// curve: Curves.easeInOut, +// ); +// } +// } else { +// // Swipe from right to left +// if (_currentPageIndex < widget.screens.length - 1) { +// setState(() { +// _currentPageIndex++; +// }); +// _pageController.animateToPage( +// _currentPageIndex, +// duration: Duration(milliseconds: 300), +// curve: Curves.easeInOut, +// ); +// } +// } +// }, +// child: PageView( +// controller: _pageController, +// children: widget.screens, +// ), +// ); +// } +// } diff --git a/fuel_ease_app/lib/widgets/page_swipe.dart b/fuel_ease_app/lib/widgets/page_swipe.dart new file mode 100644 index 0000000..9197097 --- /dev/null +++ b/fuel_ease_app/lib/widgets/page_swipe.dart @@ -0,0 +1,42 @@ +// ignore_for_file: prefer_const_constructors + +import 'package:flutter/material.dart'; +import 'package:flutter_screenutil/flutter_screenutil.dart'; + +class PageSwipe extends StatelessWidget { + final int currentIndex; + final int pageCount; + + const PageSwipe( + {super.key, required this.currentIndex, required this.pageCount}); + + @override + Widget build(BuildContext context) { + return Row( + mainAxisAlignment: MainAxisAlignment.center, + children: List.generate( + pageCount, + (index) => Padding( + padding: EdgeInsets.all(8.0), + child: currentIndex == index + ? Container( + width: 14.w, + height: 8.0.h, + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(100.r), + shape: BoxShape.rectangle, + color: Color.fromRGBO(252, 18, 61, 1)), + ) + : Container( + width: 8.w, + height: 8.0.h, + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Color.fromRGBO(217, 217, 217, 1), + ), + ), + ), + ), + ); + } +} diff --git a/fuel_ease_app/macos/Runner.xcodeproj/project.pbxproj b/fuel_ease_app/macos/Runner.xcodeproj/project.pbxproj index 1450cad..b0f0c01 100644 --- a/fuel_ease_app/macos/Runner.xcodeproj/project.pbxproj +++ b/fuel_ease_app/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -344,7 +345,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; @@ -423,7 +424,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -470,7 +471,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/fuel_ease_app/pubspec.lock b/fuel_ease_app/pubspec.lock index 0f3a736..306e4c7 100644 --- a/fuel_ease_app/pubspec.lock +++ b/fuel_ease_app/pubspec.lock @@ -1,53 +1,68 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + args: + dependency: transitive + description: + name: args + sha256: "4cab82a83ffef80b262ddedf47a0a8e56ee6fbf7fe21e6e768b02792034dd440" + url: "https://pub.dev" + source: hosted + version: "2.4.0" async: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + url: "https://pub.dev" source: hosted - version: "2.9.0" + version: "2.10.0" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + url: "https://pub.dev" source: hosted version: "1.2.1" clock: dependency: transitive description: name: clock - url: "https://pub.dartlang.org" + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + url: "https://pub.dev" source: hosted - version: "1.16.0" + version: "1.17.0" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - url: "https://pub.dartlang.org" + sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + url: "https://pub.dev" source: hosted version: "1.0.5" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" source: hosted version: "1.3.1" flutter: @@ -59,7 +74,24 @@ packages: dependency: "direct dev" description: name: flutter_lints - url: "https://pub.dartlang.org" + sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + url: "https://pub.dev" + source: hosted + version: "2.0.1" + flutter_screenutil: + dependency: "direct main" + description: + name: flutter_screenutil + sha256: "8e049ecdc1a62c90e6bf0e9c8398ace8dde81b92889c70cfe06281d79d59113a" + url: "https://pub.dev" + source: hosted + version: "5.6.1" + flutter_svg: + dependency: "direct main" + description: + name: flutter_svg + sha256: b9be7260c1fdbe0090a11d9d356fc2c88e14cf33407fc0c1829d76ab13808035 + url: "https://pub.dev" source: hosted version: "2.0.1" flutter_test: @@ -67,41 +99,70 @@ packages: description: flutter source: sdk version: "0.0.0" + js: + dependency: transitive + description: + name: js + sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + url: "https://pub.dev" + source: hosted + version: "0.6.5" lints: dependency: transitive description: name: lints - url: "https://pub.dartlang.org" + sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" + url: "https://pub.dev" source: hosted version: "2.0.1" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + url: "https://pub.dev" source: hosted - version: "0.12.12" + version: "0.12.13" material_color_utilities: dependency: transitive description: name: material_color_utilities - url: "https://pub.dartlang.org" + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" source: hosted - version: "0.1.5" + version: "0.2.0" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + url: "https://pub.dev" source: hosted version: "1.8.0" path: dependency: transitive description: name: path - url: "https://pub.dartlang.org" + sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + url: "https://pub.dev" source: hosted version: "1.8.2" + path_parsing: + dependency: transitive + description: + name: path_parsing + sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + url: "https://pub.dev" + source: hosted + version: "1.0.1" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4" + url: "https://pub.dev" + source: hosted + version: "5.1.0" sky_engine: dependency: transitive description: flutter @@ -111,50 +172,90 @@ packages: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + url: "https://pub.dev" + source: hosted + version: "0.4.16" + vector_graphics: + dependency: transitive + description: + name: vector_graphics + sha256: "09562ef5f47aa84f6567495adb6b9cb2a3192b82c352623b8bd00b300d62603b" + url: "https://pub.dev" + source: hosted + version: "1.0.1" + vector_graphics_codec: + dependency: transitive + description: + name: vector_graphics_codec + sha256: "886e57742644ebed024dc3ade29712e37eea1b03d294fb314c0a3386243fe5a6" + url: "https://pub.dev" + source: hosted + version: "1.0.1" + vector_graphics_compiler: + dependency: transitive + description: + name: vector_graphics_compiler + sha256: "5d9010c4a292766c55395b2288532579a85673f8148460d1e233d98ffe10d24e" + url: "https://pub.dev" source: hosted - version: "0.4.12" + version: "1.0.1" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + xml: + dependency: transitive + description: + name: xml + sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5" + url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "6.2.2" sdks: - dart: ">=2.18.6 <3.0.0" + dart: ">=2.19.0-0 <3.0.0" + flutter: ">=3.7.0-0" diff --git a/fuel_ease_app/pubspec.yaml b/fuel_ease_app/pubspec.yaml index 24526e2..70047db 100644 --- a/fuel_ease_app/pubspec.yaml +++ b/fuel_ease_app/pubspec.yaml @@ -36,6 +36,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 + flutter_screenutil: ^5.6.1 + flutter_svg: ^2.0.1 dev_dependencies: flutter_test: @@ -60,8 +62,9 @@ flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg + assets: + - assets/Logo.svg + - assets/splash_screen_pic.svg # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see