└── lib ├── .DS_Store ├── resources ├── images │ ├── bits.png │ └── line.png ├── fonts │ ├── Raleway-Thin.ttf │ ├── Raleway-Regular.ttf │ └── Montserrat-Regular.ttf └── texts │ └── strings.dart ├── database └── dao │ └── services.dart ├── main.dart └── ui ├── views ├── DETAIL CHILD PAGE.dart ├── mainmenu │ ├── splashscreen.dart │ └── mainmenutabuser.dart ├── detail_page.dart ├── knowledge.dart ├── education.dart ├── food.dart ├── housing.dart ├── charity.dart ├── health.dart ├── work.dart ├── family.dart ├── aboutus.dart ├── iced.dart └── ousregistration.dart └── widgets ├── showalertdialog.dart ├── styles.dart └── textfield.dart /lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/.DS_Store -------------------------------------------------------------------------------- /lib/resources/images/bits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/resources/images/bits.png -------------------------------------------------------------------------------- /lib/resources/images/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/resources/images/line.png -------------------------------------------------------------------------------- /lib/resources/fonts/Raleway-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/resources/fonts/Raleway-Thin.ttf -------------------------------------------------------------------------------- /lib/resources/fonts/Raleway-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/resources/fonts/Raleway-Regular.ttf -------------------------------------------------------------------------------- /lib/resources/fonts/Montserrat-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Srirajk65/Sriraj/HEAD/lib/resources/fonts/Montserrat-Regular.ttf -------------------------------------------------------------------------------- /lib/database/dao/services.dart: -------------------------------------------------------------------------------- 1 | class Services { 2 | String title; 3 | double indicatorValue; 4 | 5 | Services({required this.title, required this.indicatorValue}); 6 | } 7 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/resources/texts/strings.dart'; 3 | import 'package:devops_demo/ui/views/mainmenu/mainmenutabuser.dart'; 4 | import 'package:devops_demo/ui/views/mainmenu/splashscreen.dart'; 5 | 6 | Future main() async { 7 | WidgetsFlutterBinding.ensureInitialized(); 8 | runApp(MaterialApp( 9 | title: Strings.APP_NAME, 10 | debugShowCheckedModeBanner: false, 11 | theme: ThemeData( 12 | primarySwatch: Colors.red, 13 | //primaryColor: Color.fromRGBO(58, 66, 86, 1.0), 14 | ), 15 | home: SplashScreen(), 16 | routes: { 17 | Strings.PG_RT_MM_TAB_USR: (BuildContext context) => new MainMenuTabUser(), 18 | }, 19 | )); 20 | } 21 | -------------------------------------------------------------------------------- /lib/ui/views/DETAIL CHILD PAGE.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | 4 | class DetailchildPage extends StatelessWidget { 5 | final Services services; 6 | 7 | Detailchildpage({Key? key, required this.services}) : super(key: key); 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | backgroundColor: Color.fromRGBO(63, 3, 9, 1.0), 12 | appBar: AppBar( 13 | centerTitle: true, 14 | title: Text( 15 | 'Flutter Tutorial', 16 | ), 17 | ), 18 | body: Container ( 19 | color: Colors.brown, 20 | child: Center( 21 | child: OutlinedButton( 22 | onPressed: () { }, 23 | child: Text("subbit") 24 | ), 25 | ), 26 | ), 27 | ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lib/ui/views/mainmenu/splashscreen.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:devops_demo/resources/texts/strings.dart'; 5 | 6 | class SplashScreen extends StatefulWidget { 7 | @override 8 | SplashScreenState createState() => new SplashScreenState(); 9 | } 10 | 11 | class SplashScreenState extends State { 12 | startTime() async { 13 | var _duration = new Duration(seconds: 2); 14 | return new Timer(_duration, navigationPage); 15 | } 16 | 17 | void navigationPage() { 18 | Navigator.of(context).pushReplacementNamed(Strings.PG_RT_MM_TAB_USR); 19 | } 20 | 21 | @override 22 | void initState() { 23 | super.initState(); 24 | startTime(); 25 | } 26 | 27 | @override 28 | Widget build(BuildContext context) { 29 | return new Scaffold( 30 | body: new Container( 31 | decoration: BoxDecoration( 32 | gradient: LinearGradient( 33 | colors: [ 34 | Colors.blue, 35 | Colors.green, 36 | ], 37 | stops: [ 38 | 0.0, 39 | 1.0 40 | ], 41 | begin: FractionalOffset.topCenter, 42 | end: FractionalOffset.bottomCenter, 43 | tileMode: TileMode.repeated)), 44 | child: Center( 45 | child: new Image.asset(Strings.CHN_IMG_PATH), 46 | )), 47 | ); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /lib/ui/views/detail_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | 4 | class DetailPage extends StatelessWidget { 5 | final Services services;v 6 | 7 | DetailPage({Key? key, required this.services}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | backgroundColor: Color.fromRGBO(220, 149, 149, 1.0), 13 | appBar: AppBar( 14 | centerTitle: true, 15 | title: Text( 16 | 'Flutter Tutorial', 17 | ), 18 | ), 19 | body: Container ( 20 | child: Column( 21 | children: [ 22 | const SizedBox( 23 | height: 30, 24 | ), 25 | const TextField( 26 | decoration: InputDecoration( 27 | border: OutlineInputBorder( 28 | borderSide: BorderSide(color: Colors.teal)), 29 | labelText: 'Enter Email', 30 | ), 31 | ), 32 | const SizedBox( 33 | height: 30, 34 | ), 35 | ElevatedButton( 36 | style: ElevatedButton.styleFrom( 37 | primary: Colors.black, 38 | 39 | ), 40 | onPressed: () {}, 41 | child: const Text(`` 42 | 'Submit', 43 | style: TextStyle(fontSize: 24), 44 | ), 45 | ), 46 | ], 47 | ) 48 | ), 49 | ); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /lib/ui/widgets/showalertdialog.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:devops_demo/resources/texts/strings.dart'; 5 | 6 | showAlertDialogSingle(BuildContext context, String title, String content) { 7 | // set up the button 8 | Widget okButton = TextButton( 9 | child: Text(Strings.OK), 10 | onPressed: () { 11 | Navigator.pop(context); 12 | }, 13 | ); 14 | 15 | // set up the AlertDialog 16 | AlertDialog alert = AlertDialog( 17 | title: Text(title), 18 | content: Text(content), 19 | actions: [ 20 | okButton, 21 | ], 22 | ); 23 | 24 | // show the dialog 25 | showDialog( 26 | context: context, 27 | builder: (BuildContext context) { 28 | return alert; 29 | }, 30 | ); 31 | } 32 | 33 | showAlertDialogDouble(BuildContext context, String title, String content) { 34 | // set up the button 35 | Widget yesButton = TextButton( 36 | child: Text(Strings.YES), 37 | onPressed: () { 38 | exit(0); 39 | }, 40 | ); 41 | 42 | Widget noButton = TextButton( 43 | child: Text(Strings.NO), 44 | onPressed: () { 45 | Navigator.of(context).pop(false); 46 | }, 47 | ); 48 | 49 | // set up the AlertDialog 50 | AlertDialog alert = AlertDialog( 51 | title: Text(title), 52 | content: Text(content), 53 | actions: [ 54 | noButton, 55 | yesButton, 56 | ], 57 | ); 58 | 59 | // show the dialog 60 | showDialog( 61 | context: context, 62 | builder: (BuildContext context) { 63 | return alert; 64 | }, 65 | ); 66 | } 67 | -------------------------------------------------------------------------------- /lib/ui/widgets/styles.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/resources/texts/strings.dart'; 3 | 4 | final ButtonStyle elevatedButtonStyle = ButtonStyle( 5 | backgroundColor: 6 | MaterialStateProperty.all(Color.fromRGBO(58, 66, 86, 1.0)), 7 | shape: MaterialStateProperty.all( 8 | RoundedRectangleBorder( 9 | borderRadius: BorderRadius.circular(32.0), 10 | ))); 11 | 12 | final ButtonStyle buttonStyle = ButtonStyle( 13 | shape: MaterialStateProperty.all( 14 | RoundedRectangleBorder( 15 | ))); 16 | 17 | final TextStyle selectedTextStyle = TextStyle( 18 | color: Colors.white, 19 | fontSize: 16, 20 | ); 21 | 22 | final TextStyle unSelectedTextStyle = TextStyle( 23 | color: Colors.blue, 24 | fontSize: 14, 25 | ); 26 | 27 | final TextStyle normalTextStyle = TextStyle( 28 | color: Colors.white, 29 | fontSize: 14, 30 | ); 31 | 32 | InputDecoration inputDecoration(String hintText) { 33 | return InputDecoration( 34 | counterText: Strings.EMPTY_STRING, 35 | contentPadding: EdgeInsets.fromLTRB(20.0, 15.0, 20.0, 15.0), 36 | hintText: hintText, 37 | border: OutlineInputBorder(borderRadius: BorderRadius.circular(32.0))); 38 | } 39 | 40 | ShapeDecoration shapeDecoration(List gradient) { 41 | return ShapeDecoration( 42 | shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0)), 43 | gradient: LinearGradient( 44 | colors: gradient, begin: Alignment.topLeft, end: Alignment.bottomRight), 45 | ); 46 | } 47 | 48 | BoxDecoration boxDecoration = BoxDecoration( 49 | border: Border.all( 50 | color: Colors.black26, 51 | ), 52 | borderRadius: BorderRadius.circular(32.0), 53 | ); 54 | 55 | SizedBox sizedBoxHeight = SizedBox(height: 10); 56 | 57 | SizedBox sizedBoxWidth = SizedBox(width: 20); 58 | -------------------------------------------------------------------------------- /lib/ui/views/knowledge.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Knowledge extends StatefulWidget { 7 | @override 8 | KnowledgeState createState() => KnowledgeState(); 9 | } 10 | 11 | class KnowledgeState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_SAS_40_SAMSKARAM, 92 | indicatorValue: 1.0, 93 | ), 94 | ]; 95 | } 96 | -------------------------------------------------------------------------------- /lib/ui/views/education.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Education extends StatefulWidget { 7 | @override 8 | EducationState createState() => EducationState(); 9 | } 10 | 11 | class EducationState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_VID_VIEW_DOWNLOAD_DES, 92 | indicatorValue: 0.50, 93 | ), 94 | Services( 95 | title: Strings.TITLE_VID_VIEW_DOWNLOAD_DIV, 96 | indicatorValue: 1.0, 97 | ), 98 | ]; 99 | } 100 | -------------------------------------------------------------------------------- /lib/ui/views/food.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Food extends StatefulWidget { 7 | @override 8 | FoodState createState() => FoodState(); 9 | } 10 | 11 | class FoodState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_DPSR_BOJ_BUY_FOOD_PRDS, 92 | indicatorValue: 0.33, 93 | ), 94 | Services( 95 | title: Strings.TITLE_BOJ_VIEW_BOOK_CATERERS, 96 | indicatorValue: 0.66, 97 | ), 98 | Services( 99 | title: Strings.TITLE_BOJ_BUY_FOOD_PRDS, 100 | indicatorValue: 0.99, 101 | ), 102 | ]; 103 | } 104 | -------------------------------------------------------------------------------- /lib/ui/views/housing.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Housing extends StatefulWidget { 7 | @override 8 | HousingState createState() => HousingState(); 9 | } 10 | 11 | class HousingState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_VAT_BUY, 92 | indicatorValue: 0.33, 93 | ), 94 | Services( 95 | title: Strings.TITLE_VAT_SELL, 96 | indicatorValue: 0.66, 97 | ), 98 | Services( 99 | title: Strings.TITLE_VAT_VIEW_EDIT_DELETE_PROFILE, 100 | indicatorValue: 0.99, 101 | ), 102 | ]; 103 | } 104 | -------------------------------------------------------------------------------- /lib/ui/views/charity.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Charity extends StatefulWidget { 7 | @override 8 | CharityState createState() => CharityState(); 9 | } 10 | 11 | class CharityState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_KAI_KAINKARYAM, 92 | indicatorValue: 0.33, 93 | ), 94 | Services( 95 | title: Strings.TITLE_KAI_VIEW_REQUESTS, 96 | indicatorValue: 0.66, 97 | ), 98 | Services( 99 | title: Strings.TITLE_KAI_VIEW_EDIT_DELETE_PROFILE, 100 | indicatorValue: 0.99, 101 | ), 102 | ]; 103 | } 104 | -------------------------------------------------------------------------------- /lib/ui/views/health.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/ousregistration.dart'; 5 | 6 | class Health extends StatefulWidget { 7 | @override 8 | HealthState createState() => HealthState(); 9 | } 10 | 11 | class HealthState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | switch (services.title) { 54 | case Strings.TITLE_OUS_CRT_APPT: 55 | Navigator.push(context, 56 | MaterialPageRoute(builder: (context) => OUSRegistration())); 57 | break; 58 | default: 59 | break; 60 | } 61 | }, 62 | ); 63 | 64 | Card makeCard(Services services) => Card( 65 | elevation: 8.0, 66 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 67 | child: Container( 68 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 69 | child: makeListTile(services), 70 | ), 71 | ); 72 | 73 | final makeBody = Container( 74 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 75 | child: ListView.builder( 76 | scrollDirection: Axis.vertical, 77 | shrinkWrap: true, 78 | itemCount: services.length, 79 | itemBuilder: (BuildContext context, int index) { 80 | return makeCard(services[index]); 81 | }, 82 | ), 83 | ); 84 | 85 | return Scaffold( 86 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 87 | body: makeBody, 88 | ); 89 | } 90 | } 91 | 92 | List getServices() { 93 | return [ 94 | Services( 95 | title: Strings.TITLE_OUS_CRT_APPT, 96 | indicatorValue: 0.25, 97 | ), 98 | Services( 99 | title: Strings.TITLE_OUS_VW_APPT, 100 | indicatorValue: 0.50, 101 | ), 102 | Services( 103 | title: Strings.TITLE_OUS_REGISTRATION, 104 | indicatorValue: 0.75, 105 | ), 106 | Services( 107 | title: Strings.TITLE_OUS_APPTS, 108 | indicatorValue: 1.0, 109 | ), 110 | ]; 111 | } 112 | -------------------------------------------------------------------------------- /lib/ui/views/work.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Work extends StatefulWidget { 7 | @override 8 | WorkState createState() => WorkState(); 9 | } 10 | 11 | class WorkState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_KAR_JOB_CLASSIFIEDS, 92 | indicatorValue: 0.25, 93 | ), 94 | Services( 95 | title: Strings.TITLE_VED_VED_REGISTRATION, 96 | indicatorValue: 0.50, 97 | ), 98 | Services( 99 | title: Strings.TITLE_VED_PROF_LIST, 100 | indicatorValue: 0.75, 101 | ), 102 | Services( 103 | title: Strings.TITLE_VED_FRESH_LIST, 104 | indicatorValue: 1.0, 105 | ), 106 | ]; 107 | } 108 | -------------------------------------------------------------------------------- /lib/ui/views/family.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class Family extends StatefulWidget { 7 | @override 8 | FamilyState createState() => FamilyState(); 9 | } 10 | 11 | class FamilyState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_MMM_MMM_REGISTRATION, 92 | indicatorValue: 0.25, 93 | ), 94 | Services( 95 | title: Strings.TITLE_MMM_VARAN_VADHU_LIST, 96 | indicatorValue: 0.50, 97 | ), 98 | Services( 99 | title: Strings.TITLE_MMM_VIEW_EDIT_DELETE_PROFILE, 100 | indicatorValue: 0.75, 101 | ), 102 | Services( 103 | title: Strings.TITLE_MMM_LATEST_NEWS, 104 | indicatorValue: 1.0, 105 | ), 106 | ]; 107 | } 108 | -------------------------------------------------------------------------------- /lib/ui/views/aboutus.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | class AboutUs extends StatefulWidget { 7 | @override 8 | AboutUsState createState() => AboutUsState(); 9 | } 10 | 11 | class AboutUsState extends State { 12 | late List services; 13 | 14 | @override 15 | void initState() { 16 | services = getServices(); 17 | super.initState(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | ListTile makeListTile(Services services) => ListTile( 23 | contentPadding: 24 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 25 | leading: Container( 26 | padding: EdgeInsets.only(right: 12.0), 27 | decoration: new BoxDecoration( 28 | border: new Border( 29 | right: new BorderSide(width: 1.0, color: Colors.white24))), 30 | child: Icon(Icons.auto_awesome, color: Colors.white), 31 | ), 32 | title: Text( 33 | services.title, 34 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 35 | ), 36 | 37 | 38 | subtitle: Row( 39 | children: [ 40 | Expanded( 41 | flex: 1, 42 | child: Container( 43 | child: LinearProgressIndicator( 44 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 45 | value: services.indicatorValue, 46 | valueColor: AlwaysStoppedAnimation(Colors.green)), 47 | )), 48 | ], 49 | ), 50 | trailing: 51 | Icon(Icons.keyboard_arrow_right, color: Colors.white, size: 30.0), 52 | onTap: () { 53 | Navigator.push( 54 | context, 55 | MaterialPageRoute( 56 | builder: (context) => DetailPage(services: services))); 57 | }, 58 | ); 59 | 60 | Card makeCard(Services services) => Card( 61 | elevation: 8.0, 62 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 63 | child: Container( 64 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 65 | child: makeListTile(services), 66 | ), 67 | ); 68 | 69 | final makeBody = Container( 70 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 71 | child: ListView.builder( 72 | scrollDirection: Axis.vertical, 73 | shrinkWrap: true, 74 | itemCount: services.length, 75 | itemBuilder: (BuildContext context, int index) { 76 | return makeCard(services[index]); 77 | }, 78 | ), 79 | ); 80 | 81 | return Scaffold( 82 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 83 | body: makeBody, 84 | ); 85 | } 86 | } 87 | 88 | List getServices() { 89 | return [ 90 | Services( 91 | title: Strings.TITLE_DPSR_ABOUT_US, 92 | indicatorValue: 0.20, 93 | ), 94 | Services( 95 | title: Strings.TITLE_DPSR_CONTACT_US, 96 | indicatorValue: 0.40, 97 | ), 98 | Services( 99 | title: Strings.TITLE_DPSR_OUR_SERVICES, 100 | indicatorValue: 0.60, 101 | ), 102 | Services( 103 | title: Strings.TITLE_DPSR_BE_SPONSER, 104 | indicatorValue: 0.80, 105 | ), 106 | Services( 107 | title: Strings.TITLE_DPSR_OUR_SPONSERS, 108 | indicatorValue: 1.0, 109 | ), 110 | ]; 111 | } 112 | -------------------------------------------------------------------------------- /lib/ui/views/iced.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/database/dao/services.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/views/detail_page.dart'; 5 | 6 | import 'iced.dart'; 7 | 8 | class iced extends StatefulWidget { 9 | @override 10 | icedState createState() => icedState(); 11 | } 12 | 13 | class icedState extends State { 14 | late List services; 15 | 16 | @override 17 | void initState() { 18 | services = getServices(); 19 | super.initState(); 20 | } 21 | 22 | @override 23 | Widget build(BuildContext context) { 24 | ListTile makeListTile(Services services) => ListTile( 25 | contentPadding: 26 | EdgeInsets.symmetric(horizontal: 20.0, vertical: 10.0), 27 | leading: Container( 28 | padding: EdgeInsets.only(right: 12.0), 29 | decoration: new BoxDecoration( 30 | border: new Border( 31 | right: new BorderSide(width: 1.0, color: Colors.white24))), 32 | child: Icon(Icons.add_call, color: Colors.grey), 33 | ), 34 | title: Text( 35 | services.title, 36 | style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold), 37 | ), 38 | 39 | 40 | subtitle: Row( 41 | children: [ 42 | Expanded( 43 | flex: 1, 44 | child: Container( 45 | child: LinearProgressIndicator( 46 | backgroundColor: Color.fromRGBO(209, 224, 224, 0.2), 47 | value: services.indicatorValue, 48 | valueColor: AlwaysStoppedAnimation(Colors.green)), 49 | )), 50 | ], 51 | ), 52 | trailing: 53 | Icon(Icons.ac_unit_sharp, color: Colors.cyan, size: 30.0), 54 | onTap: () { 55 | Navigator.push( 56 | context, 57 | MaterialPageRoute( 58 | builder: (context) => DetailPage(services: services))); 59 | }, 60 | ); 61 | 62 | Card makeCard(Services services) => Card( 63 | elevation: 8.0, 64 | margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0), 65 | child: Container( 66 | decoration: BoxDecoration(color: Color.fromRGBO(64, 75, 96, .9)), 67 | child: makeListTile(services), 68 | ), 69 | ); 70 | 71 | final makeBody = Container( 72 | // decoration: BoxDecoration(color: Color.fromRGBO(58, 66, 86, 1.0)), 73 | child: ListView.builder( 74 | scrollDirection: Axis.vertical, 75 | shrinkWrap: true, 76 | itemCount: services.length, 77 | itemBuilder: (BuildContext context, int index) { 78 | return makeCard(services[index]); 79 | }, 80 | ), 81 | ); 82 | 83 | return Scaffold( 84 | backgroundColor: Color.fromRGBO(58, 66, 86, 1.0), 85 | body: makeBody, 86 | ); 87 | } 88 | } 89 | 90 | List getServices() { 91 | return [ 92 | Services( 93 | title: Strings.TITLE_DPSR_TEMPERATURE, 94 | indicatorValue: 0.20, 95 | ), 96 | Services( 97 | title: Strings.TITLE_DPSR_ROOMTEMP, 98 | indicatorValue: 0.40, 99 | ), 100 | Services( 101 | title: Strings.TITLE_DPSR_OUR_SERVICES, 102 | indicatorValue: 0.60, 103 | ), 104 | Services( 105 | title: Strings.TITLE_DPSR_BE_CUSTOMERS, 106 | indicatorValue: 0.80, 107 | ), 108 | Services( 109 | title: Strings.TITLE_DPSR_OUR_CONTACTNUMBER, 110 | indicatorValue: 1.0, 111 | ), 112 | ]; 113 | } 114 | 115 | class TITLE_DPSR_BE_CUSTOMERS { 116 | } 117 | 118 | class TITLE_DPSR_TEMPERATURE { 119 | } 120 | -------------------------------------------------------------------------------- /lib/ui/views/mainmenu/mainmenutabuser.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/resources/texts/strings.dart'; 3 | import 'package:devops_demo/ui/views/aboutus.dart'; 4 | import 'package:devops_demo/ui/views/charity.dart'; 5 | import 'package:devops_demo/ui/views/education.dart'; 6 | import 'package:devops_demo/ui/views/family.dart'; 7 | import 'package:devops_demo/ui/views/food.dart'; 8 | import 'package:devops_demo/ui/views/health.dart'; 9 | import 'package:devops_demo/ui/views/housing.dart'; 10 | import 'package:devops_demo/ui/views/knowledge.dart'; 11 | import 'package:devops_demo/ui/views/work.dart'; 12 | import 'package:devops_demo/ui/widgets/showalertdialog.dart'; 13 | 14 | import '../iced.dart'; 15 | 16 | class MainMenuTabUser extends StatefulWidget { 17 | @override 18 | State createState() => MainMenuTabUserState(); 19 | } 20 | 21 | class MainMenuTabUserState extends State 22 | with TickerProviderStateMixin { 23 | late TabController _controller; 24 | int selectedIndex = 0; 25 | 26 | @override 27 | void initState() { 28 | super.initState(); 29 | _controller = TabController(length: 3, vsync: this); 30 | _controller.addListener(() { 31 | setState(() { 32 | selectedIndex = _controller.index; 33 | }); 34 | }); 35 | } 36 | 37 | Future onBackPressed() async { 38 | return (await showAlertDialogDouble( 39 | context, Strings.ALERT_HDR_ARE_YOU_SURE, Strings.ALERT_BDY_ARE_YOU_SURE)) ?? 40 | false; 41 | } 42 | 43 | @override 44 | Widget build(BuildContext context) { 45 | return DefaultTabController( 46 | length: 10, 47 | child: Scaffold( 48 | appBar: AppBar( 49 | bottom: TabBar( 50 | indicatorWeight: 6, 51 | isScrollable: true, 52 | tabs: [ 53 | Tab(icon: Icon(Icons.family_restroom), child: Text(Strings.TITLE_MM_TB_MM)), 54 | Tab(icon: Icon(Icons.work), child: Text(Strings.TITLE_MM_TB_VEDKAR)), 55 | Tab( 56 | icon: Icon(Icons.local_hospital), 57 | child: Text(Strings.TITLE_MM_TB_OUS)), 58 | Tab( 59 | icon: Icon(Icons.school), 60 | child: Text(Strings.TITLE_MM_TB_VID)), 61 | Tab(icon: Icon(Icons.food_bank), child: Text(Strings.TITLE_MM_TB_BOJ)), 62 | Tab(icon: Icon(Icons.home), child: Text(Strings.TITLE_MM_TB_VAT)), 63 | Tab(icon: Icon(Icons.book), child: Text(Strings.TITLE_MM_TB_SAS)), 64 | Tab(icon: Icon(Icons.local_atm), child: Text(Strings.TITLE_MM_TB_KAI)), 65 | Tab( 66 | icon: Icon(Icons.contact_support), 67 | child: Text(Strings.TITLE_MM_TB_DPSR)), 68 | Tab(icon: Icon(Icons.ac_unit_outlined), child: Text(Strings.TITLE_MM_TB_iced)), 69 | ], 70 | ), 71 | title: Center( 72 | child: Column( 73 | children: [ 74 | Text( 75 | Strings.DET_MM_TB_WEL + "BOSS", 76 | ), 77 | Text( 78 | greeting() 79 | ), 80 | ], 81 | ), 82 | ), 83 | leading: new IconButton( 84 | icon: new Icon(Icons.arrow_back), 85 | onPressed: () { 86 | // Navigator.of(context).pop(); 87 | onBackPressed(); 88 | }, 89 | ), 90 | ), 91 | body: TabBarView( 92 | children: [ 93 | Family(), 94 | Work(), 95 | Health(), 96 | Education(), 97 | Food(), 98 | Housing(), 99 | Knowledge(), 100 | Charity(), 101 | AboutUs(), 102 | iced(), 103 | ], 104 | ), 105 | ), 106 | ); 107 | } 108 | 109 | String greeting() { 110 | var hour = DateTime.now().hour; 111 | if (hour < 12) { 112 | return Strings.DET_MM_TB_GREET_MOR; 113 | } 114 | if (hour < 16) { 115 | return Strings.DET_MM_TB_GREET_NOON; 116 | } 117 | return Strings.DET_MM_TB_GREET_EVE; 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /lib/ui/views/ousregistration.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:devops_demo/resources/texts/strings.dart'; 4 | import 'package:devops_demo/ui/widgets/styles.dart'; 5 | import 'package:devops_demo/ui/widgets/textfield.dart'; 6 | 7 | class OUSRegistration extends StatefulWidget { 8 | @override 9 | State createState() => OUSRegistrationState(); 10 | } 11 | 12 | class OUSRegistrationState extends State { 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | title: Text( 19 | Strings.TITLE_OUS_REGISTRATION, 20 | style: new TextStyle(color: Colors.white), 21 | ), 22 | leading: new IconButton( 23 | icon: new Icon(Icons.arrow_back), 24 | onPressed: () { 25 | Navigator.pop(context); 26 | }, 27 | ), 28 | ), 29 | body: SingleChildScrollView( 30 | child: Container( 31 | height: MediaQuery.of(context).size.height, 32 | color: Colors.black12, 33 | child: Column( 34 | //crossAxisAlignment: CrossAxisAlignment.start, 35 | mainAxisAlignment: MainAxisAlignment.start, 36 | children: [ 37 | SizedBox( 38 | height: 10, 39 | ), 40 | Container( 41 | child: Stack( 42 | alignment: Alignment.bottomCenter, 43 | children: [ 44 | Column( 45 | // mainAxisAlignment: MainAxisAlignment.spaceAround, 46 | children: [ 47 | sizedBoxHeight, 48 | createAccountField, 49 | sizedBoxHeight, 50 | firstNameField, 51 | sizedBoxHeight, 52 | lastNameField, 53 | sizedBoxHeight, 54 | Container( 55 | width: MediaQuery.of(context).size.width / 2, 56 | height: 50, 57 | child: ElevatedButton( 58 | style: elevatedButtonStyle, 59 | onPressed: () { }, //null 60 | child: Text(Strings.BTN_TITLE_DOB),), 61 | ), 62 | sizedBoxHeight, 63 | Container( 64 | width: MediaQuery.of(context).size.width / 2, 65 | height: 50, 66 | child: ElevatedButton( 67 | onPressed: () { }, //null 68 | child: Text(Strings.BTN_TITLE_DOB),), 69 | ), 70 | Container( 71 | width: MediaQuery.of(context).size.width / 2, 72 | height: 50, 73 | child: TextButton( 74 | onPressed: () { }, //null 75 | child: Text(Strings.BTN_TITLE_DOB),), 76 | ), 77 | Container( 78 | width: MediaQuery.of(context).size.width / 2, 79 | height: 50, 80 | child: OutlinedButton( 81 | onPressed: () { }, //null 82 | child: Text(Strings.BTN_TITLE_DOB),), 83 | ), 84 | Container( 85 | width: MediaQuery.of(context).size.width / 2, 86 | height: 50, 87 | child: CupertinoButton( 88 | onPressed: () { }, //null 89 | child: Text(Strings.BTN_TITLE_DOB),), 90 | ), 91 | Container( 92 | width: MediaQuery.of(context).size.width / 2, 93 | height: 50, 94 | child: CupertinoButton.filled( 95 | onPressed: () { }, //null 96 | child: Text(Strings.BTN_TITLE_DOB),), 97 | ), 98 | ], 99 | ), 100 | ], 101 | )), 102 | ], 103 | )), 104 | ), 105 | ); 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /lib/ui/widgets/textfield.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:devops_demo/resources/texts/strings.dart'; 3 | import 'package:devops_demo/ui/widgets/styles.dart'; 4 | 5 | TextStyle style = TextStyle(fontFamily: Strings.FONT, fontSize: 14.0); 6 | TextStyle smallStyle = TextStyle(fontFamily: Strings.FONT, fontSize: 12.0); 7 | final emailFieldController = TextEditingController(); 8 | final userNameFieldController = TextEditingController(); 9 | final passwordFieldController = TextEditingController(); 10 | final firstNameFieldController = TextEditingController(); 11 | final lastNameFieldController = TextEditingController(); 12 | final contactNumberFieldController = TextEditingController(); 13 | final contactCountryFieldController = TextEditingController(); 14 | final whatsAppCountryFieldController = TextEditingController(); 15 | final motherNameFieldController = TextEditingController(); 16 | final birthPlaceFieldController = TextEditingController(); 17 | final nativeCityFieldController = TextEditingController(); 18 | final qualificationFieldController = TextEditingController(); 19 | final presentCityFieldController = TextEditingController(); 20 | final occupationFieldController = TextEditingController(); 21 | final salaryFieldController = TextEditingController(); 22 | final siblingsFieldController = TextEditingController(); 23 | final whatsAppNumberFieldController = TextEditingController(); 24 | final expectationFieldController = TextEditingController(); 25 | final heightCmFieldController = TextEditingController(); 26 | final heightFeetFieldController = TextEditingController(); 27 | final heightInchFieldController = TextEditingController(); 28 | final weightFieldController = TextEditingController(); 29 | final rasiFieldController = TextEditingController(); 30 | final dateOfBirthFieldController = TextEditingController(); 31 | final addressFieldController = TextEditingController(); 32 | final ailmentShortDescFieldController = TextEditingController(); 33 | final uniqueIDFieldController = TextEditingController(); 34 | final quarterKGInputFieldController = TextEditingController(); 35 | final halfKGInputFieldController = TextEditingController(); 36 | final oneKGInputFieldController = TextEditingController(); 37 | final detailsFieldController = TextEditingController(); 38 | final fileNameFieldController = TextEditingController(); 39 | 40 | final product1NameFieldController = TextEditingController(); 41 | final product2NameFieldController = TextEditingController(); 42 | final product3NameFieldController = TextEditingController(); 43 | final product1250QuantityPriceFieldController = TextEditingController(); 44 | final product2250QuantityPriceFieldController = TextEditingController(); 45 | final product3250QuantityPriceFieldController = TextEditingController(); 46 | final product1500QuantityPriceFieldController = TextEditingController(); 47 | final product2500QuantityPriceFieldController = TextEditingController(); 48 | final product3500QuantityPriceFieldController = TextEditingController(); 49 | final product11000QuantityPriceFieldController = TextEditingController(); 50 | final product21000QuantityPriceFieldController = TextEditingController(); 51 | final product31000QuantityPriceFieldController = TextEditingController(); 52 | 53 | final userNameField = TextField( 54 | controller: userNameFieldController, 55 | obscureText: false, 56 | maxLength: 16, 57 | keyboardType: TextInputType.text, 58 | style: style, 59 | decoration: inputDecoration(Strings.HINT_USER_NAME), 60 | ); 61 | 62 | final passwordField = TextField( 63 | controller: passwordFieldController, 64 | obscureText: true, 65 | keyboardType: TextInputType.visiblePassword, 66 | maxLength: 20, 67 | style: style, 68 | decoration: inputDecoration(Strings.HINT_PASSWORD), 69 | ); 70 | 71 | final firstNameField = TextField( 72 | controller: firstNameFieldController, 73 | obscureText: false, 74 | keyboardType: TextInputType.text, 75 | maxLength: 50, 76 | style: style, 77 | decoration: inputDecoration(Strings.HINT_FIRST_NAME), 78 | ); 79 | 80 | final lastNameField = TextField( 81 | controller: lastNameFieldController, 82 | obscureText: false, 83 | keyboardType: TextInputType.text, 84 | maxLength: 50, 85 | style: style, 86 | decoration: inputDecoration(Strings.HINT_LAST_NAME), 87 | ); 88 | 89 | final createAccountField = Text(Strings.HINT_CREATE_ACCOUNT, 90 | style: TextStyle( 91 | fontSize: 20, color: Colors.black, fontWeight: FontWeight.bold)); 92 | 93 | final updateAccountField = Text(Strings.HINT_UPDATE_ACCOUNT, 94 | style: TextStyle( 95 | fontSize: 20, color: Colors.black, fontWeight: FontWeight.bold)); 96 | 97 | final helloField = Text(Strings.HINT_HELLO_USER, 98 | style: TextStyle( 99 | fontSize: 24, color: Colors.black, fontWeight: FontWeight.bold)); 100 | 101 | final loginIntoField = Text(Strings.HINT_LOGIN_ACCOUNT, 102 | style: TextStyle( 103 | fontSize: 20, color: Colors.black, fontWeight: FontWeight.bold)); 104 | 105 | void clearInput() { 106 | emailFieldController.clear(); 107 | userNameFieldController.clear(); 108 | passwordFieldController.clear(); 109 | firstNameFieldController.clear(); 110 | lastNameFieldController.clear(); 111 | contactNumberFieldController.clear(); 112 | contactCountryFieldController.clear(); 113 | whatsAppCountryFieldController.clear(); 114 | motherNameFieldController.clear(); 115 | birthPlaceFieldController.clear(); 116 | nativeCityFieldController.clear(); 117 | qualificationFieldController.clear(); 118 | presentCityFieldController.clear(); 119 | occupationFieldController.clear(); 120 | salaryFieldController.clear(); 121 | siblingsFieldController.clear(); 122 | whatsAppNumberFieldController.clear(); 123 | expectationFieldController.clear(); 124 | heightCmFieldController.clear(); 125 | heightFeetFieldController.clear(); 126 | heightInchFieldController.clear(); 127 | weightFieldController.clear(); 128 | rasiFieldController.clear(); 129 | dateOfBirthFieldController.clear(); 130 | addressFieldController.clear(); 131 | detailsFieldController.clear(); 132 | fileNameFieldController.clear(); 133 | } 134 | 135 | final product1NameField = TextField( 136 | controller: product1NameFieldController, 137 | enabled: false, 138 | obscureText: false, 139 | keyboardType: TextInputType.text, 140 | style: style, 141 | decoration: inputDecoration(Strings.EMPTY_STRING), 142 | ); 143 | 144 | final product1250QuantityPriceField = TextField( 145 | controller: product1250QuantityPriceFieldController, 146 | enabled: false, 147 | obscureText: false, 148 | keyboardType: TextInputType.text, 149 | style: style, 150 | decoration: inputDecoration(Strings.EMPTY_STRING), 151 | ); 152 | 153 | final product1500QuantityPriceField = TextField( 154 | controller: product1500QuantityPriceFieldController, 155 | enabled: false, 156 | obscureText: false, 157 | keyboardType: TextInputType.text, 158 | style: style, 159 | decoration: inputDecoration(Strings.EMPTY_STRING), 160 | ); 161 | 162 | final product11000QuantityPriceField = TextField( 163 | controller: product11000QuantityPriceFieldController, 164 | enabled: false, 165 | obscureText: false, 166 | keyboardType: TextInputType.text, 167 | style: style, 168 | decoration: inputDecoration(Strings.EMPTY_STRING), 169 | ); 170 | 171 | final product2NameField = TextField( 172 | controller: product2NameFieldController, 173 | enabled: false, 174 | obscureText: false, 175 | keyboardType: TextInputType.text, 176 | style: style, 177 | decoration: inputDecoration(Strings.EMPTY_STRING), 178 | ); 179 | 180 | final product2250QuantityPriceField = TextField( 181 | controller: product2250QuantityPriceFieldController, 182 | enabled: false, 183 | obscureText: false, 184 | keyboardType: TextInputType.text, 185 | style: style, 186 | decoration: inputDecoration(Strings.EMPTY_STRING), 187 | ); 188 | 189 | final product2500QuantityPriceField = TextField( 190 | controller: product2500QuantityPriceFieldController, 191 | enabled: false, 192 | obscureText: false, 193 | keyboardType: TextInputType.text, 194 | style: style, 195 | decoration: inputDecoration(Strings.EMPTY_STRING), 196 | ); 197 | 198 | final product21000QuantityPriceField = TextField( 199 | controller: product21000QuantityPriceFieldController, 200 | enabled: false, 201 | obscureText: false, 202 | keyboardType: TextInputType.text, 203 | style: style, 204 | decoration: inputDecoration(Strings.EMPTY_STRING), 205 | ); 206 | 207 | final product3NameField = TextField( 208 | controller: product3NameFieldController, 209 | enabled: false, 210 | obscureText: false, 211 | keyboardType: TextInputType.text, 212 | style: style, 213 | decoration: inputDecoration(Strings.EMPTY_STRING), 214 | ); 215 | 216 | final product3250QuantityPriceField = TextField( 217 | controller: product3250QuantityPriceFieldController, 218 | enabled: false, 219 | obscureText: false, 220 | keyboardType: TextInputType.text, 221 | style: style, 222 | decoration: inputDecoration(Strings.EMPTY_STRING), 223 | ); 224 | 225 | final product3500QuantityPriceField = TextField( 226 | controller: product3500QuantityPriceFieldController, 227 | enabled: false, 228 | obscureText: false, 229 | keyboardType: TextInputType.text, 230 | style: style, 231 | decoration: inputDecoration(Strings.EMPTY_STRING), 232 | ); 233 | 234 | final product31000QuantityPriceField = TextField( 235 | controller: product31000QuantityPriceFieldController, 236 | enabled: false, 237 | obscureText: false, 238 | keyboardType: TextInputType.text, 239 | style: style, 240 | decoration: inputDecoration(Strings.EMPTY_STRING), 241 | ); 242 | -------------------------------------------------------------------------------- /lib/resources/texts/strings.dart: -------------------------------------------------------------------------------- 1 | class Strings { 2 | 3 | // Network and Security 4 | static const String TRANSPORT_PROTOCOL = 'http://'; 5 | static const String WEB_CONNECTOR = '192.168.0.23'; 6 | static const String AUTHENTICATED = 'AUTHENTICATED'; 7 | static const String FINGERPRINT_ENABLED = 'FINGERPRINT_ENABLED'; 8 | static const String BACKEND = 'DevOps_Backend/'; 9 | static const String CONTENT_TYPE = 'Content-Type'; 10 | static const String JSON_HEADER = 'application/json; charset=UTF-8'; 11 | static const String TERMS_CONDITIONS_URL = TRANSPORT_PROTOCOL + WEB_CONNECTOR + BACK_SLASH + BACKEND + 'termsandconditions.html'; 12 | 13 | // Result / Error Messages 14 | static const String SUCCESS = 'Success'; 15 | static const String SYSTEM_ERROR = 'Adding the Data into System Failed'; 16 | static const String REG_SUCCESS = 'Registration Successful'; 17 | static const String DEL_FAILURE = 'Deleting the Data into System Failed'; 18 | static const String UNIQUE_ID = 'UniqueID'; 19 | 20 | // Alert Header 21 | static const String ALERT_HDR_SYSTEM_ERROR = 'System Data Failure'; 22 | static const String ALERT_HDR_DATA_INPUT_MISSING = 'Data Input Missing'; 23 | static const String ALERT_HDR_REG_SUCCESS = 'Registration Successful'; 24 | static const String ALERT_HDR_UPD_SUCCESS = 'Update Successful'; 25 | static const String ALERT_HDR_DEL_SUCCESS = 'Deletion Successful'; 26 | static const String ALERT_HDR_DEL_FAILURE = 'Deletion Failure'; 27 | static const String ALERT_HDR_ARE_YOU_SURE = 'Are you sure ?'; 28 | static const String ALERT_HDR_USR_PRESENT = 'User Name already Present'; 29 | static const String ALERT_HDR_TERMS_NOT_ACCEPTED = 'Terms & Conditions Not Accepted'; 30 | 31 | // Alert Body 32 | static const String ALERT_BDY_SYSTEM_ERROR = 'The data which is provided is wrong. Please correct your data...'; 33 | static const String ALERT_BDY_DATA_INPUT_MISSING = 'Please provide all the required data. Some fields are not filled or selected.'; 34 | static const String ALERT_BDY_ARE_YOU_SURE = 'Do you want to exit an App ?'; 35 | static const String ALERT_BDY_USR_PRESENT = 'Please provide a different User Name'; 36 | static const String ALERT_BDY_TERMS_NOT_ACCEPTED = 'Please Accept the Terms & Conditions by Clicking the Check Box'; 37 | 38 | // Common Items 39 | static const String APP_NAME = 'Devops Demo Update'; 40 | static const String OK = 'OK'; 41 | static const String YES = 'Yes'; 42 | static const String NO = 'No'; 43 | static const String FONT = 'Montserrat'; 44 | static const String EMPTY_STRING = ''; 45 | static const String LINE_BREAK = '\n'; 46 | static const String SPACE = ' '; 47 | static const String DOT = '.'; 48 | static const String HYPHEN = '-'; 49 | static const String PLUS = '+'; 50 | static const String ROLE_USR = 'User'; 51 | static const String CHN_IMG_PATH = 'lib/resources/images/bits.png'; 52 | static const String FOR = 'for'; 53 | static const String BACK_SLASH = '/'; 54 | static const String POST = 'POST'; 55 | 56 | // Page Routes 57 | static const String PG_RT_MM_TAB_USR = '/MainMenuTabUser'; 58 | static const String PG_RT_HM = '/HomeScreen'; 59 | 60 | // JSON DB Objects 61 | static const String DB_USER_NAME = 'UserName'; 62 | static const String DB_FIRST_NAME = 'FirstName'; 63 | static const String DB_LAST_NAME = 'LastName'; 64 | static const String DB_ROLE = 'Role'; 65 | static const String DB_PASSWORD = 'Password'; 66 | static const String DB_PROFILE = 'Profile'; 67 | static const String DB_OPERATION = 'Operation'; 68 | static const String DB_STATUS = 'Status'; 69 | 70 | // Hint Text 71 | static const String HINT_USER_NAME = 'User Name'; 72 | static const String HINT_PASSWORD = 'Password'; 73 | static const String HINT_FIRST_NAME = 'First Name'; 74 | static const String HINT_LAST_NAME = 'Last Name'; 75 | static const String HINT_CREATE_ACCOUNT = 'Create Account'; 76 | static const String HINT_UPDATE_ACCOUNT = 'Update Account'; 77 | static const String HINT_HELLO_USER = 'Hello User'; 78 | static const String HINT_LOGIN_ACCOUNT = 'Login into your Account'; 79 | 80 | // Page Titles 81 | static const String TITLE_DPSR_BOJ_BUY_FOOD_PRDS = 'Sell Food Products'; 82 | static const String TITLE_BOJ_VIEW_BOOK_CATERERS = 'Cooking Instructions'; 83 | static const String TITLE_BOJ_BUY_FOOD_PRDS = 'Buy Food Products'; 84 | static const String TITLE_MMM_MMM_REGISTRATION = 'Family Registration'; 85 | static const String TITLE_MMM_VARAN_VADHU_LIST = 'Family Details'; 86 | static const String TITLE_MMM_VIEW_EDIT_DELETE_PROFILE = 'View/Edit/Delete your Profile'; 87 | static const String TITLE_MMM_LATEST_NEWS = 'Latest News'; 88 | static const String TITLE_OUS_CRT_APPT = 'Create an Appointement to Doctor'; 89 | static const String TITLE_OUS_VW_APPT = 'View Your Appointment'; 90 | static const String TITLE_OUS_REGISTRATION = 'Doctor Registration'; 91 | static const String TITLE_OUS_APPTS = 'Doctor Appointments'; 92 | static const String TITLE_VAT_BUY = 'Buy/For Rent/For Lease Land/House/Office'; 93 | static const String TITLE_VAT_SELL = 'Sell/Rent/Lease Land/House/Office'; 94 | static const String TITLE_VAT_VIEW_EDIT_DELETE_PROFILE = 'View/Edit/Delete your created Profile'; 95 | static const String TITLE_DPSR_ABOUT_US = 'About Us'; 96 | static const String TITLE_DPSR_CONTACT_US = 'Contact Us'; 97 | static const String TITLE_DPSR_OUR_SERVICES = 'Our Services'; 98 | static const String TITLE_DPSR_BE_SPONSER = 'Be a Sponsor'; 99 | static const String TITLE_DPSR_OUR_SPONSERS = 'Our Sponsors'; 100 | static const String TITLE_VID_VIEW_DOWNLOAD_DES = 'View Schools'; 101 | static const String TITLE_VID_VIEW_DOWNLOAD_DIV = 'View Colleges'; 102 | static const String TITLE_FORGOT_PWD_FORGOT_PWD = 'Forgot Password'; 103 | static const String TITLE_KAI_KAINKARYAM = 'Request for Charity'; 104 | static const String TITLE_KAI_VIEW_REQUESTS = 'View List of Requests'; 105 | static const String TITLE_KAI_VIEW_EDIT_DELETE_PROFILE = 'View/Edit/Delete your created Profile'; 106 | static const String TITLE_LGN_LOGIN = 'Login'; 107 | static const String TITLE_MM_TB_MM = 'Family'; 108 | static const String TITLE_MM_TB_VEDKAR = 'Work'; 109 | static const String TITLE_MM_TB_OUS = 'Health'; 110 | static const String TITLE_MM_TB_VID = 'Education'; 111 | static const String TITLE_MM_TB_BOJ = 'Food'; 112 | static const String TITLE_MM_TB_VAT = 'Housing'; 113 | static const String TITLE_MM_TB_SAS = 'Knowledge'; 114 | static const String TITLE_MM_TB_KAI = 'Charity'; 115 | static const String TITLE_MM_TB_DPSR = 'About Us'; 116 | static const String TITLE_MM_TB_iced = 'iced'; 117 | static const String TITLE_MM_TB_ADMOPR = 'Admin Operations'; 118 | static const String TITLE_SAS_40_SAMSKARAM = 'Genres'; 119 | static const String TITLE_VED_SELECT_CITY = 'Please Select the City'; 120 | static const String TITLE_KAR_JOB_CLASSIFIEDS = 'Job Classifieds'; 121 | static const String TITLE_VED_VED_REGISTRATION = 'Job Registration'; 122 | static const String TITLE_VED_PROF_LIST = 'Professionals List'; 123 | static const String TITLE_VED_FRESH_LIST = 'Freshers List'; 124 | static const String TITLE_VED_KAR_JOB_CLASSIFIEDS = 'Job Classifieds'; 125 | static const String TITLE_VED_VIEW_EDIT_DELETE_PROFILE = 'View/Edit your created Profile'; 126 | static const String TITLE_VED_PROFESSIONALS_DETAILS = 'Professionals Details'; 127 | static const String TITLE_VED_FRESHERS_DETAILS = 'Freshers Details'; 128 | static const String TITLE_VAT_PROPERTIES_DETAILS = 'Properties Details'; 129 | static const String TITLE_KAI_KAI_REGISTRATION = 'Service Registration'; 130 | static const String TITLE_SELECT_IMAGE = 'Select Image'; 131 | static const String TITLE_DPSR_TEMPERATURE = 'Select TEMPERATURE'; 132 | static const String TITLE_DPSR_ROOMTEMP = 'Select ROOMTEMP'; 133 | static const String TITLE_DPSR_BE_CUSTOMERS = 'Select CUSTOMERS'; 134 | static const String TITLE_DPSR_OUR_CONTACTNUMBER = 'Select CONTACTNUMBER'; 135 | 136 | // Drop Down Text 137 | static const String DD_HINT_SEL_REASON = 'Please Select your Reason'; 138 | 139 | // Details 140 | static const String DET_MMM_REG_INPUT_REQ_FIELDS = 'Please Input all the required fields...'; 141 | static const String DET_HM_NOT_AUTHORIZED = 'Not Authorized'; 142 | static const String DET_HM_AUTHORIZED = 'Authorized'; 143 | static const String DET_HM_AUTH = 'Authenticating'; 144 | static const String DET_HM_LOGIN_METHOD = 'Login by Fingerprint or Face ID or Iris'; 145 | static const String DET_HM_ERR = 'Error - '; 146 | static const String DET_HM_OS_DETERMINE = 'Let OS determine authentication method'; 147 | static const String DET_LGN_FORGOT_PWD = 'Forget your password ?'; 148 | static const String DET_LGN_REGISTER_PT1 = 'Do not have account ?'; 149 | static const String DET_LGN_REGISTER_PT2 = 'Register Now'; 150 | static const String DET_MM_TB_WEL = 'Welcome '; 151 | static const String DET_MM_TB_GREET_MOR = 'Good Morning'; 152 | static const String DET_MM_TB_GREET_NOON = 'Good Afternoon'; 153 | static const String DET_MM_TB_GREET_EVE = 'Good Evening'; 154 | static const String DET_SIGN_UP_TERMS_CONDITIONS_PT1 = 'I had Read and agreed to the '; 155 | static const String DET_SIGN_UP_TERMS_CONDITIONS_PT2 = 'Terms & Conditions'; 156 | static const String DET_SIGN_UP_ACCOUNT_PRESENT_PT1 = 'Already have an account ?'; 157 | static const String DET_SIGN_UP_ACCOUNT_PRESENT_PT2 = 'Login'; 158 | static const String DET_FORGOT_PWD_YOUR_PASSWORD = 'Your Password is : '; 159 | 160 | // Button Text 161 | static const String BTN_TITLE_REGISTER = 'Register'; 162 | static const String BTN_TITLE_UPDATE = 'Update'; 163 | static const String BTN_TITLE_DELETE = 'Delete'; 164 | static const String BTN_TITLE_GET_PWD = 'Get Password'; 165 | static const String BTN_TITLE_LOGIN = 'Login'; 166 | static const String BTN_TITLE_REGISTER_NOW = 'Register Now'; 167 | static const String BTN_TITLE_LOGIN_NOW = 'Login Now'; 168 | static const String BTN_TITLE_SIGN_UP = 'Sign Up'; 169 | static const String BTN_TITLE_DOB = 'Submit'; 170 | 171 | // Shared Pref Keys 172 | static const String SHARED_PREF_USER_NAME = 'key_username'; 173 | static const String SHARED_PREF_FINGER_PRINT = 'key_fingerprint'; 174 | static const String SHARED_PREF_ROLE = 'key_role'; 175 | 176 | // BE File Name 177 | static const String BE_FILE_USR_EDT_PRF = 'editprofile.php'; 178 | static const String BE_FILE_USR_FORGOT_PWD = 'forgotpassword.php'; 179 | static const String BE_FILE_USR_LOGIN = 'login.php'; 180 | static const String BE_FILE_USR_REG_PRF = 'registerprofile.php'; 181 | static const String BE_FILE_USR_VIEW_PRF = 'viewprofile.php'; 182 | static const String BE_FILE_USR_DEL_PRF = 'deleteprofile.php'; 183 | 184 | // Status Codes 185 | static const int STATUS_CODE_OK = 200; 186 | static const int STATUS_CODE_SUCCESS = 201; 187 | } --------------------------------------------------------------------------------