-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4815c4
commit 55d6c18
Showing
38 changed files
with
123 additions
and
120 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+35.7 KB
(160%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-53 Bytes
(93%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-152 Bytes
(90%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-61 Bytes
(97%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-151 Bytes
(86%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-138 Bytes
(94%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+309 Bytes
(110%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-152 Bytes
(90%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+116 Bytes
(100%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+818 Bytes
(120%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-208 Bytes
(89%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+305 Bytes
(110%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-85 Bytes
(96%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+668 Bytes
(120%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+818 Bytes
(120%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.96 KB
(160%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(100%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
Oops, something went wrong.
Binary file modified
BIN
+1.33 KB
(130%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
Oops, something went wrong.
Binary file modified
BIN
+88 Bytes
(100%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
Oops, something went wrong.
Binary file modified
BIN
+1.73 KB
(140%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
Oops, something went wrong.
Binary file modified
BIN
+2.01 KB
(140%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,109 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:animated_text_kit/animated_text_kit.dart'; | ||
import 'package:opso/home_page.dart'; | ||
import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
// import 'package:flutter/material.dart'; | ||
// import 'package:animated_text_kit/animated_text_kit.dart'; | ||
// import 'package:opso/home_page.dart'; | ||
// import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
|
||
class LandingPage extends StatefulWidget { | ||
const LandingPage({super.key}); | ||
// class LandingPage extends StatefulWidget { | ||
// const LandingPage({super.key}); | ||
|
||
@override | ||
State<LandingPage> createState() => _LandingPageState(); | ||
} | ||
// @override | ||
// State<LandingPage> createState() => _LandingPageState(); | ||
// } | ||
|
||
class _LandingPageState extends State<LandingPage> { | ||
@override | ||
Widget build(BuildContext context) { | ||
ScreenUtilInit( | ||
designSize: Size(360, 690), | ||
); | ||
// double width = MediaQuery.of(context).size.width; | ||
// double height = MediaQuery.of(context).size.height; | ||
return Scaffold( | ||
body: SingleChildScrollView( | ||
child: Padding( | ||
padding: const EdgeInsets.all(20), | ||
child: Container( | ||
child: Column( | ||
children: [ | ||
Center( | ||
child: Container( | ||
width: 360.w, | ||
height: (690.h) / 2, | ||
decoration: const BoxDecoration( | ||
image: DecorationImage( | ||
image: AssetImage("assets/landing.webp"), | ||
fit: BoxFit.contain), | ||
), | ||
), | ||
), | ||
Center( | ||
child: SizedBox( | ||
child: DefaultTextStyle( | ||
style: TextStyle( | ||
fontSize: 50.sp, | ||
), | ||
child: AnimatedTextKit( | ||
animatedTexts: [ | ||
ColorizeAnimatedText( | ||
'Unlock your potential', | ||
textStyle: TextStyle( | ||
fontSize: 20.sp, fontWeight: FontWeight.w700), | ||
colors: [ | ||
const Color.fromRGBO(255, 183, 77, 1), | ||
const Color.fromARGB(255, 231, 225, 208) | ||
], | ||
), | ||
], | ||
isRepeatingAnimation: true, | ||
), | ||
), | ||
), | ||
), | ||
const Padding(padding: EdgeInsets.only(top: 20)), | ||
Center( | ||
child: SizedBox( | ||
child: Text( | ||
"Contribute to Open Source", | ||
style: TextStyle( | ||
fontWeight: FontWeight.w400, fontSize: 20.sp), | ||
), | ||
), | ||
), | ||
const Padding(padding: EdgeInsets.only(top: 30)), | ||
Center( | ||
child: SizedBox( | ||
width: 250.w, | ||
height: 60.h, | ||
child: ElevatedButton( | ||
style: ElevatedButton.styleFrom( | ||
backgroundColor: | ||
const Color.fromRGBO(255, 183, 77, 1), | ||
shape: const RoundedRectangleBorder( | ||
borderRadius: BorderRadius.all(Radius.circular(20)), | ||
)), | ||
onPressed: () { | ||
Navigator.push( | ||
context, | ||
MaterialPageRoute( | ||
builder: (context) => HomePage())); | ||
}, | ||
child: Text( | ||
"Get started", | ||
style: TextStyle( | ||
color: Colors.white, | ||
fontSize: (MediaQuery.of(context).size.width < | ||
MediaQuery.of(context).size.height) | ||
? 19.sp | ||
: 19.sh), | ||
), | ||
), | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} | ||
// class _LandingPageState extends State<LandingPage> { | ||
// @override | ||
// Widget build(BuildContext context) { | ||
// ScreenUtilInit( | ||
// designSize: Size(360, 690), | ||
// ); | ||
// // double width = MediaQuery.of(context).size.width; | ||
// // double height = MediaQuery.of(context).size.height; | ||
// return Scaffold( | ||
// body: SingleChildScrollView( | ||
// child: Padding( | ||
// padding: const EdgeInsets.all(20), | ||
// child: Container( | ||
// child: Column( | ||
// children: [ | ||
// Center( | ||
// child: Container( | ||
// width: 360.w, | ||
// height: (690.h) / 2, | ||
// decoration: const BoxDecoration( | ||
// image: DecorationImage( | ||
// image: AssetImage("assets/landing.webp"), | ||
// fit: BoxFit.contain), | ||
// ), | ||
// ), | ||
// ), | ||
// Center( | ||
// child: SizedBox( | ||
// child: DefaultTextStyle( | ||
// style: TextStyle( | ||
// fontSize: 50.sp, | ||
// ), | ||
// child: AnimatedTextKit( | ||
// animatedTexts: [ | ||
// ColorizeAnimatedText( | ||
// 'Unlock your potential', | ||
// textStyle: TextStyle( | ||
// fontSize: 20.sp, fontWeight: FontWeight.w700), | ||
// colors: [ | ||
// const Color.fromRGBO(255, 183, 77, 1), | ||
// const Color.fromARGB(255, 231, 225, 208) | ||
// ], | ||
// ), | ||
// ], | ||
// isRepeatingAnimation: true, | ||
// ), | ||
// ), | ||
// ), | ||
// ), | ||
// const Padding(padding: EdgeInsets.only(top: 20)), | ||
// Center( | ||
// child: SizedBox( | ||
// child: Text( | ||
// "Contribute to Open Source", | ||
// style: TextStyle( | ||
// fontWeight: FontWeight.w400, fontSize: 20.sp), | ||
// ), | ||
// ), | ||
// ), | ||
// const Padding(padding: EdgeInsets.only(top: 30)), | ||
// Center( | ||
// child: SizedBox( | ||
// width: 250.w, | ||
// height: 60.h, | ||
// child: ElevatedButton( | ||
// style: ElevatedButton.styleFrom( | ||
// backgroundColor: | ||
// const Color.fromRGBO(255, 183, 77, 1), | ||
// shape: const RoundedRectangleBorder( | ||
// borderRadius: BorderRadius.all(Radius.circular(20)), | ||
// )), | ||
// onPressed: () { | ||
// Navigator.push( | ||
// context, | ||
// MaterialPageRoute( | ||
// builder: (context) => HomePage())); | ||
// }, | ||
// child: Text( | ||
// "Get started", | ||
// style: TextStyle( | ||
// color: Colors.white, | ||
// fontSize: (MediaQuery.of(context).size.width < | ||
// MediaQuery.of(context).size.height) | ||
// ? 19.sp | ||
// : 19.sh), | ||
// ), | ||
// ), | ||
// ), | ||
// ), | ||
// ], | ||
// ), | ||
// ), | ||
// ), | ||
// ), | ||
// ); | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters