From ac9ac0f81df88ba79ab869fc05dcb1307d1e53bf Mon Sep 17 00:00:00 2001 From: Pratham Chikara Date: Wed, 18 Jan 2023 20:38:32 +0530 Subject: [PATCH 1/2] onboarding1 --- assets/health-check.png | Bin 0 -> 10615 bytes lib/constants/onboarding_data.dart | 10 ++++++ lib/main.dart | 5 ++- lib/screens/onboarding1.dart | 48 +++++++++++++++++++++++++++++ pubspec.yaml | 11 +++---- 5 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 assets/health-check.png create mode 100644 lib/constants/onboarding_data.dart create mode 100644 lib/screens/onboarding1.dart diff --git a/assets/health-check.png b/assets/health-check.png new file mode 100644 index 0000000000000000000000000000000000000000..1c6cf1770201de7357e19546e4a0384b33ee0027 GIT binary patch literal 10615 zcmcI~Wl$VU%rNfm?oix|ySo-Y+@ZJ~#ogUq3oUxM9dNi?DI6{C?p`Q-ecs>S`}3XI zY-TgNlSwAYX0wUY(on=iBSV9Mfx%Q(lGFKzFaHA+q<=G+dqmeigzBzjDLHBBFl8F|``$x60>lkjkw_~U z2UKMmhScKJJhiGEUEk;a`^}7jOkuu&xij4diPNdW)I8yU*}~?Kfckgi(|#ftX&i+A zZ7hgmG-sj`>pK#{tFlR1Kid_m&SMiy@M2~!(z!_hI$TY&U=h;bnpMHX5_BbeU{@r* zdM+62+pt?piqh2k_aK~b7l`67bfN&l+}A^&{;tnlIC6LsWY?U%HyshXc>Q@i54M3z zjHzNmW;iETNxfX7ccKEXe}1F<+cu7NUF@~Ao*x0y*v;q%-;=FGCG6}ol~Kf3uD6>SQz;y(bXK-ZqS@Yqh9;(*cPvM| z2AK6b?d;h%Xu54}LMV+G18ArBY7pIaHp`rQmW}4`G@sY~C5$vs$zsGr@T~6F)7&AA z>=vX^^6@5M@cSx}I zi&9Q)QwSsm^tXqOtR7B6vaK=?`7Nb|?aA<~gHqfv}hPoriY2WAaKEvr(c?I zQ^vC!`~n!p+=UJ2!#E$!M)!i4GN@*Dmq&fxO$ia{Y9~mpXS;UV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i#28MC`iv|)O$?X!UVK2`mP|kC$XBh~LqCM!528YvR zrSxpB*Z|peRbHHiCU?W{%UVj3_A!RAz6{j~cKk_Me^RWE0Z95Os zmIyfJe{P&}MWC-|yEk#uc%?cAh2%+yGB2e9QRi^sW(}5B7u?=>PC5w1AR9JYcD`C@ z)%Rb~@wn0mKBL#w_-+4q)F1$$-@)gIS7ZDa?8)5!$BBP{I6&oVleW*sukD)Fq;>5A ze$D{(p5|}ef2vavQ~#^#AOL8T`xPIJ_6$r>SFkkNT7~d96}PRZ9*L%R8=~36hE*9T zX}1PV+<7!#6TryTs4^&zS*+k+uww%>x*vl0U>Z-KhFkTltNv{GdtC}z5XpcFmBS0oIdCy0! z230ri-9~P|5cJAOE_8nmk4D{1p``52A7_TaUy-k3a;yFad{=SUJ z?RbYnQ%H-DXaz`iz4DpQkY!S#;t|sOFUf+n+%;Tn5e(Rebh~I=ChMGV2F&?QNuq4?fkIoxM>#_^-h`eQ98!o$sF1_Kx>zq z4DG=SjwTeA=ccKi&r;R6D=9YaFUH7tDo}GZ(b3mmZX~no`Cic^tIfPoA4W1z|#ncw7q{#{^v4 z7&R_T|EFL0|DWanx?yKn={saBeMd)@`*#fB4putUJ&)Ab>~KsKgNjt76-4##MBIcc-uRS9+9HbFGJcX! zM|a}2OX*cWs1mwwvBA`$z;=!#ghc*EVGN%%1*bu`c8X!SM(J#)xq1FYsxnG5p1&3J zponxP3S1Y5lhda?xEd|T*zt(D1%_Q_5Zp?}BRgEeqzPy|x9(g&c>|u-Y(4sLM(SX2 z9n^GDphl6Tw_Q9&2d9uo=P9JL5p}`!V5`DgocJd(g6kaaO~Eie{V>THWpA-p5xOdD78%B1z1PLRPGG(bm zekTUFc?npa!xprBcHep_YsTYkRlpHV$?%MfjOtSVd)J{fPT$r${5O5sLE|3U)_;AH OFv{{8at$&T;r|bJgCMd1 literal 0 HcmV?d00001 diff --git a/lib/constants/onboarding_data.dart b/lib/constants/onboarding_data.dart new file mode 100644 index 0000000..edf633f --- /dev/null +++ b/lib/constants/onboarding_data.dart @@ -0,0 +1,10 @@ +List> onboardingData = [ + { + "image_url": "assets/health-check.png", + "text": "To be a responsible donor, you must get a check-up", + }, + // { + // "image_url": "assets/health-check.png", + // "text": "To be a responsible donor, you must get a check-up", + // }, +]; diff --git a/lib/main.dart b/lib/main.dart index 217940d..49c7ea3 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,4 @@ -import 'package:bloodbank_app/screens/hello.dart'; +import 'package:bloodbank_app/screens/onboarding1.dart'; import 'package:flutter/material.dart'; void main() { @@ -12,6 +12,9 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( + theme: ThemeData( + primarySwatch: Colors.amber, + ), title: 'Bllood Bank App', home: const MyHomePage(), ); diff --git a/lib/screens/onboarding1.dart b/lib/screens/onboarding1.dart new file mode 100644 index 0000000..78ee5e9 --- /dev/null +++ b/lib/screens/onboarding1.dart @@ -0,0 +1,48 @@ +import 'package:bloodbank_app/constants/onboarding_data.dart'; +import 'package:flutter/material.dart'; + +class MyHomePage extends StatelessWidget { + const MyHomePage({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + body: SafeArea( + child: Container( + color: Colors.red, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: onboardingData + .map( + (e) => Column( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + Container( + child: Image.asset( + "assets/health-check.png", + ), + ), + Container( + padding: EdgeInsets.only( + left: 57.0, + right: 56.0, + ), + child: Text( + "To be a responsible donor, you must get a check-up", + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 18, + color: Colors.white, + ), + ), + ) + ], + ), + ) + .toList(), + ), + ), + ), + ); + } +} diff --git a/pubspec.yaml b/pubspec.yaml index b6ffb63..440a4a7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev +publish_to: "none" # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: '>=2.18.6 <3.0.0' + sdk: ">=2.18.6 <3.0.0" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -32,7 +32,6 @@ dependencies: flutter: sdk: flutter - # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 @@ -53,15 +52,15 @@ dev_dependencies: # The following section is specific to Flutter packages. flutter: - # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - assets/bloodbank.png + assets: + - assets/bloodbank.png + - assets/health-check.png # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see From 6462dfac07d90738696a319fd6f9febabd23ff40 Mon Sep 17 00:00:00 2001 From: Pratham Chikara Date: Thu, 19 Jan 2023 19:51:31 +0530 Subject: [PATCH 2/2] deleted extra --- lib/screens/onbording_screen .dart | 48 ------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 lib/screens/onbording_screen .dart diff --git a/lib/screens/onbording_screen .dart b/lib/screens/onbording_screen .dart deleted file mode 100644 index 78ee5e9..0000000 --- a/lib/screens/onbording_screen .dart +++ /dev/null @@ -1,48 +0,0 @@ -import 'package:bloodbank_app/constants/onboarding_data.dart'; -import 'package:flutter/material.dart'; - -class MyHomePage extends StatelessWidget { - const MyHomePage({super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SafeArea( - child: Container( - color: Colors.red, - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: onboardingData - .map( - (e) => Column( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - Container( - child: Image.asset( - "assets/health-check.png", - ), - ), - Container( - padding: EdgeInsets.only( - left: 57.0, - right: 56.0, - ), - child: Text( - "To be a responsible donor, you must get a check-up", - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 18, - color: Colors.white, - ), - ), - ) - ], - ), - ) - .toList(), - ), - ), - ), - ); - } -}