Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaJOY committed Oct 16, 2021
1 parent b0275d5 commit 57b93de
Show file tree
Hide file tree
Showing 19 changed files with 840 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# Job_Profile
Flutter Job_profile
# profile

A new Flutter project.

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Binary file added assets/icons/filter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/airbnb_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/avatar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/google_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/linkedin_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/search_bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions lib/home.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
import 'package:curved_navigation_bar/curved_navigation_bar.dart';
import 'package:flutter/material.dart';
import 'package:profile/widgets/company_list.dart';
import 'package:profile/widgets/home_appbar.dart';
import 'package:profile/widgets/searchbar.dart';
import 'package:profile/widgets/tag_list.dart';


class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);


@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
Row(
children: [
Expanded(
flex: 2,
child: Container(),

),
Expanded(
flex: 1,
child: Container(
color: Colors.grey.withOpacity(0.1)
),

),
],
),
Column(
children: [
HomeAppbar(),
SearchBar(),
TagList(),
CompanyList(),

],
),
],
),
/* floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
floatingActionButton: FloatingActionButton(
onPressed: (){
},
elevation: 0,
backgroundColor: Theme.of(context).accentColor,
child: Icon(Icons.add, color: Colors.white),
),
bottomNavigationBar: Theme(
data: ThemeData(
splashColor: Colors.transparent,
highlightColor: Colors.transparent
),
child: BottomNavigationBar(
showSelectedLabels: false,
showUnselectedLabels: false,
selectedItemColor: Theme.of(context).primaryColor,
type: BottomNavigationBarType.fixed,
items: [
BottomNavigationBarItem(
label: 'Home',
icon: Icon(Icons.home, size: 25)
),
BottomNavigationBarItem(
label: 'Case',
icon: Icon(Icons.cases_outlined, size: 25)
),
BottomNavigationBarItem(
label: '',
icon: Text(''),
),
BottomNavigationBarItem(
label: 'Chat',
icon: Icon(Icons.chat_bubble_outline_sharp, size: 25)
),
BottomNavigationBarItem(
label: 'person',
icon: Icon(Icons.person_outline_rounded, size: 25)
),
],
),
),*/

bottomNavigationBar: Padding(
padding: const EdgeInsets.only(bottom: 25.0),
child: CurvedNavigationBar(

color: Colors.white,
backgroundColor: Colors.grey.withOpacity(0.1),
buttonBackgroundColor: Colors.yellow,
height: 50,
items: <Widget>[
Icon(Icons.home, size: 26, color: Color(0xff01b2b8)),
Icon(Icons.cases_outlined, size: 26, color: Color(0xff01b2b8)),
Icon(Icons.add_outlined, size: 28, color: Color(0xff01b2b8)),
Icon(Icons.chat_bubble_outline_sharp, size: 26, color: Color(0xff01b2b8)),
Icon(Icons.person_outline_rounded, size: 26, color: Color(0xff01b2b8)),
],
animationDuration: Duration(
microseconds: 200
),
index: 2,
animationCurve: Curves.bounceInOut,
onTap: (index){
debugPrint("Current Index is $index");
},
),
),


);
}
}
76 changes: 76 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:profile/home.dart';


void main(){
runApp(MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(statusBarColor: Colors.transparent)
);
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Color(0xff01b2b8),
accentColor: Color(0xffFFD409),
),
// home: HomePage(),
home: SplashScreen(),
);
}
}

class SplashScreen extends StatefulWidget {
const SplashScreen({Key? key}) : super(key: key);

@override
_SplashScreenState createState() => _SplashScreenState();
}

class _SplashScreenState extends State<SplashScreen> {
void initState() { //duration of splash screen and auto execute
// TODO: implement initState
super.initState();
Timer(Duration(seconds: 2), ()
{
Navigator.push(context, MaterialPageRoute(builder: (context)=>HomePage()));
}
);
}

@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: SafeArea(
child: Center(

child: Column(

children: [
SizedBox(
height: 100,
),

Image.asset('assets/images/splash.png', height: 400,),
SizedBox(height: 5),
CircularProgressIndicator(
valueColor: AlwaysStoppedAnimation<Color>(Color(0xff01b2b8)),
)

],
),
),
),
);
}
}

50 changes: 50 additions & 0 deletions lib/model/company_info.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
class CompanyInfo{
String logoUrl;
String company;
String title;
String location;
List<String> req;

CompanyInfo(
this.logoUrl, this.company, this.title, this.location, this.req
);

static List<CompanyInfo> generateCompanyList(){
return[
CompanyInfo(
'assets/images/airbnb_logo.png', 'Airbnb Inc,',
'VP Business Intelligence',
'417 Marion Plaza, Texas \n United States',
[ //optional parameter
'Create with an eye for shape and color.',
'Understand Different Material and Production \n Method.',
'Have technical, practical and scientific \n Knowledge and ability.',
'Interested in the way people choose and use products.'
]
),
CompanyInfo(
'assets/images/google_logo.png', 'Google LLC',
'Product Design',
'417 Marion Plaza, Texas \n United States',
[ //optional parameter
'Create with an eye for shape and color.',
'Understand Different Material and Production \n Method.',
'Have technical, practical and scientific \n Knowledge and ability.',
'Interested in the way people choose and use products.'
]
),
CompanyInfo(
'assets/images/linkedin_logo.png', 'LinkedIn',
'VP Cyber Intelligence',
'417 Marion Plaza, Texas \n United States',
[ //optional parameter
'Create with an eye for shape and color.',
'Understand Different Material and Production \n Method.',
'Have technical, practical and scientific \n Knowledge and ability.',
'Interested in the way people choose and use products.'
]
),
];

}
}

0 comments on commit 57b93de

Please sign in to comment.