=2.7.0 <3.0.0" //////////////////////////////////////////////////////////////////////////////////////////////////lib = > contants => assets class Assets { Assets._(); // splash screen assets static const String splashIconnew = "assets/icon : Notes"> =2.7.0"> =2.7.0">

NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

sdk: ">=2.7.0 <3.0.0"

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > contants => assets

class Assets {
Assets._();

// splash screen assets
static const String splashIconnew = "assets/icons/logoal.png";
}

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > contants => font_family


class FontFamily {
FontFamily._();

static String productSans = "ProductSans";
static String roboto = "Roboto";
}

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > contants => colors

Color black = HexColor("#304860");
Color red = HexColor("#304860");
Color blue = HexColor("#46BCFF");
Color grey = HexColor("#6F6969");
Color primaryColor = HexColor("#CD9AA7");
Color darkPrimaryColor = HexColor("#B8676E");
Color brown = HexColor("#B8676E");
Color darkPink = HexColor("#82c9ff");
Color toastColor = HexColor("#FF0FB5");

class HexColor extends Color {
static int getcolorfromHex(String hexcolor) {
hexcolor = hexcolor.toUpperCase().replaceAll("#", "");
if (hexcolor.length == 6) {
hexcolor = "FF" + hexcolor;
}
return int.parse(hexcolor, radix: 16);
}

HexColor(final String hexColor) : super(getcolorfromHex(hexColor));
}

const MaterialColor primaryColorShades = MaterialColor(
0xFFCD9AA7,
<int, Color>{
50: Color(0xDCD9AA7),
100: Color(0x1ACD9AA7),
200: Color(0x33CD9AA7),
300: Color(0x4DCD9AA7),
400: Color(0x66CD9AA7),
500: Color(0x80CD9AA7),
600: Color(0x996F6969),
700: Color(0xB3CD9AA7),
800: Color(0xCCCD9AA7),
900: Color(0xE6CD9AA7),
},
);

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > contants => dimens


class Dimens {
Dimens._();

static const int MAX_LIMIT_SELECT_IMAGES = 300;

/*==================================================================== margin configurations =================================================================== */

static const double margin_0 = 0.0;
static const double margin_5 = 5.0;
static const double margin_10 = 10.0;
static const double margin_15 = 15.0;
static const double margin_20 = 20.0;
static const double margin_25 = 25.0;
static const double margin_30 = 30.0;
static const double margin_35 = 35.0;
static const double margin_40 = 35.0;
static const double margin_45 = 45.0;
static const double margin_50 = 50.0;
static const double margin_100 = 100.0;

/* ====================================================================== text width size ======================================================================*/

static const double font_5 = 5.0;
static const double font_10 = 10.0;
static const double font_12 = 12.0;
static const double font_14 = 14.0;
static const double font_15 = 15.0;
static const double font_16 = 16.0;
static const double font_18 = 18.0;
static const double font_20 = 20.0;
static const double font_25 = 25.0;
static const double font_30 = 30.0;
static const double font_35 = 35.0;
static const double font_40 = 35.0;
static const double font_45 = 45.0;
static const double font_50 = 50.0;

/* ====================================================================== width ======================================================================*/

static const double width_0 = 0.0;
static const double width_5 = 5.0;
static const double width_10 = 10.0;
static const double width_12 = 12.0;
static const double width_14 = 14.0;
static const double width_15 = 15.0;
static const double width_16 = 16.0;
static const double width_18 = 18.0;
static const double width_20 = 20.0;
static const double width_25 = 25.0;
static const double width_30 = 30.0;
static const double width_35 = 35.0;
static const double width_40 = 35.0;
static const double width_45 = 45.0;
static const double width_50 = 50.0;
static const double width_80 = 80.0;
static const double width_100 = 100.0;
static const double width_110 = 110.0;
static const double width_150 = 150.0;
static const double width_200 = 200.0;
static const double width_300 = 300.0;

/*======================================================================== height ==================================================================*/

static const double height_5 = 5.0;
static const double height_8 = 8.0;
static const double height_10 = 10.0;
static const double height_12 = 12.0;
static const double height_14 = 14.0;
static const double height_15 = 15.0;
static const double height_16 = 16.0;
static const double height_18 = 18.0;
static const double height_20 = 20.0;
static const double height_25 = 25.0;
static const double height_30 = 30.0;
static const double height_35 = 35.0;
static const double height_40 = 35.0;
static const double height_45 = 45.0;
static const double height_50 = 50.0;
static const double height_60 = 60.0;
static const double height_55 = 55.0;
static const double height_80 = 80.0;
static const double height_100 = 100.0;
static const double height_110 = 110.0;
static const double height_150 = 150.0;
static const double height_200 = 200.0;
static const double height_300 = 300.0;

/*========================================================================= Elevation ============================================================ */

static const double elvation_1 = 1.0;
static const double elvation_2 = 2.0;
static const double elvation_3 = 3.0;
static const double elvation_4 = 4.0;
static const double elvation_5 = 5.0;
static const double elvation_6 = 6.0;
static const double elvation_7 = 7.0;
static const double elvation_8 = 8.0;
static const double elvation_9 = 9.0;
static const double elvation_10 = 10.0;

/*=========================================================================== Radius =============================================================*/
static const double radius_1 = 1.0;
static const double radius_2 = 2.0;
static const double radius_3 = 3.0;
static const double radius_4 = 4.0;
static const double radius_5 = 5.0;
static const double radius_6 = 6.0;
static const double radius_7 = 7.0;
static const double radius_8 = 8.0;
static const double radius_9 = 9.0;
static const double radius_10 = 10.0;
static const double radius_80 = 80.0;
}

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > model => response_model => auth_model => login_response_model

import 'package:alanis/export.dart';

class LoginResponseModel {
String message;
String accessToken;
LoginDataModel detail;
String copyrighths;

LoginResponseModel(
{this.message, this.accessToken, this.detail, this.copyrighths});

LoginResponseModel.fromJson(Map<String, dynamic> json) {
message = json['message'];
accessToken = json['access-token'];
detail = json['detail'] != null
? new LoginDataModel.fromJson(json['detail'])
: null;
copyrighths = json['copyrighths'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['message'] = this.message;
data['access-token'] = this.accessToken;
if (this.detail != null) {
data['detail'] = this.detail.toJson();
}
data['copyrighths'] = this.copyrighths;
return data;
}
}

import 'package:alanis/export.dart';
import 'package:alanis/model/response_model/rising_detail_model.dart';

class LoginDataModel {
int id;
String fullName;
String firstName;
String lastName;
String email;
String dateOfBirth;
int gender;
String contactNo;
String country;
String language;
String profileFile;
String tos;
String shortDescription;
int roleId;
int stateId;
int typeId;
String timezone;
String createdOn;
int createdById;
bool checkRisingDetail;
bool checkProfessionalDetail;
RisingDetail risingDetail;

LoginDataModel(
{this.id,
this.fullName,
this.firstName,
this.lastName,
this.country,
this.email,
this.dateOfBirth,
this.gender,
this.contactNo,
this.language,
this.profileFile,
this.tos,
this.shortDescription,
this.roleId,
this.stateId,
this.typeId,
this.timezone,
this.createdOn,
this.createdById,
this.checkRisingDetail,
this.checkProfessionalDetail,
this.risingDetail});

LoginDataModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
country = json['country'];
fullName = json['full_name'];
firstName = json['first_name'];
lastName = json['last_name'];
email = json['email'];
dateOfBirth = json['date_of_birth'];
gender = json['gender'];
contactNo = json['contact_no'];
language = json['language'];
profileFile = json['profile_file'];
tos = json['tos'];
shortDescription = json['short_description'];
roleId = json['role_id'];
stateId = json['state_id'];
typeId = json['type_id'];
timezone = json['timezone'];
createdOn = json['created_on'];
createdById = json['created_by_id'];
checkRisingDetail = json['check_rising_detail'];
checkProfessionalDetail = json['check_professional_detail'];
risingDetail = json['RisingDetail'] != null
? new RisingDetail.fromJson(json['RisingDetail'])
: null;
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['full_name'] = this.fullName;
data['country'] = this.country;
data['first_name'] = this.firstName;
data['last_name'] = this.lastName;
data['email'] = this.email;
data['date_of_birth'] = this.dateOfBirth;
data['gender'] = this.gender;
data['contact_no'] = this.contactNo;
data['language'] = this.language;
data['profile_file'] = this.profileFile;
data['tos'] = this.tos;
data['short_description'] = this.shortDescription;
data['role_id'] = this.roleId;
data['state_id'] = this.stateId;
data['type_id'] = this.typeId;
data['timezone'] = this.timezone;
data['created_on'] = this.createdOn;
data['created_by_id'] = this.createdById;
data['check_rising_detail'] = this.checkRisingDetail;
data['check_professional_detail'] = this.checkProfessionalDetail;
if (this.risingDetail != null) {
data['RisingDetail'] = this.risingDetail.toJson();
}
return data;
}
}

/*class RisingDetail {
int id;
String title;
String companyName;
String field;
String otherDetail;
Null stateId;
int typeId;
String createdOn;
int createdById;

RisingDetail(
{this.id,
this.title,
this.companyName,
this.field,
this.otherDetail,
this.stateId,
this.typeId,
this.createdOn,
this.createdById});

RisingDetail.fromJson(Map<String, dynamic> json) {
id = json['id'];
title = json['title'];
companyName = json['company_name'];
field = json['field'];
otherDetail = json['other_detail'];
stateId = json['state_id'];
typeId = json['type_id'];
createdOn = json['created_on'];
createdById = json['created_by_id'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['title'] = this.title;
data['company_name'] = this.companyName;
data['field'] = this.field;
data['other_detail'] = this.otherDetail;
data['state_id'] = this.stateId;
data['type_id'] = this.typeId;
data['created_on'] = this.createdOn;
data['created_by_id'] = this.createdById;
return data;
}
}*/

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > model => response_model => auth_model => forgotPassword_response_model

class ForgotPasswordResponseModel {
String message;
String copyrighths;

ForgotPasswordResponseModel({this.message, this.copyrighths});

ForgotPasswordResponseModel.fromJson(Map<String, dynamic> json) {
message = json['message'];
copyrighths = json['copyrighths'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['message'] = this.message;
data['copyrighths'] = this.copyrighths;
return data;
}
}

/////////////////////////////////////////////////////////////////////////////////////////////////lib = > model => response_model => auth_model => logout_response_model


class LogoutResponseModel {
String message;
String copyrighths;

LogoutResponseModel({this.message, this.copyrighths});

LogoutResponseModel.fromJson(Map<String, dynamic> json) {
message = json['message'];
copyrighths = json['copyrighths'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['message'] = this.message;
data['copyrighths'] = this.copyrighths;
return data;
}
}

//////////////////////////////////////////////////////////////////////////////////////////////////lib = > model => response_model => auth_model => changePassword_response_model


class ChangePasswordResponseModel {
String message;
String copyrighths;

ChangePasswordResponseModel({this.message, this.copyrighths});

ChangePasswordResponseModel.fromJson(Map<String, dynamic> json) {
message = json['message'];
copyrighths = json['copyrighths'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['message'] = this.message;
data['copyrighths'] = this.copyrighths;
return data;
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.