Vx mixin

Mixin Vx provides basic operations and utilities

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

isAndroid bool
Checks whether android or not
read-only
isDebugMode bool
Checks whether debug mode or not
read-only
isProfileMode bool
Checks whether profile mode or not
read-only
isReleaseMode bool
Checks whether release mode or not
read-only
isWeb bool
Checks whether web or not
read-only
m0 EdgeInsets
All Fixed EdgeInsets
read / write
m1 EdgeInsets
read / write
m2 EdgeInsets
read / write
m4 EdgeInsets
read / write
m8 EdgeInsets
read / write
m12 EdgeInsets
read / write
m16 EdgeInsets
read / write
m20 EdgeInsets
read / write
m24 EdgeInsets
read / write
m32 EdgeInsets
read / write
m64 EdgeInsets
read / write
randomColor Color
Get Random Non-Primary Color
read-only
randomOpaqueColor Color
Get Random Non-Primary Color
read-only
randomPrimaryColor Color
Get Random Primary Color
read-only
rounded ShapeBorder
ShapeBorder with border radius 15
read / write
roundedLg ShapeBorder
ShapeBorder with border radius 30
read / write
roundedSm ShapeBorder
ShapeBorder with border radius 7.5
read / write

Static Methods

mLTRB(double left, double top, double right, double bottom) EdgeInsets
EdgeInsets with custom left, right, top & bottom values
mSymmetric({double v = 0.0, double h = 0.0}) EdgeInsets
EdgeInsets with custom symmetric v for vertical and h for horizontal value
mOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) EdgeInsets
EdgeInsets with custom left, right, top & bottom values
withRounded(double radius) ShapeBorder
ShapeBorder with custom border radius
log(String message, {DateTime time, int sequenceNumber, int level = 0, String name = '', Zone zone, Object error, StackTrace stackTrace}) → void
This function was designed to map closely to the logging information collected by package:logging. [...]
inspect(Object object) → void
Send a reference to object to any attached debuggers. [...]
hexToColor(String code) Color
Get color from the hex value

Constants

black → const Color
Color(0xFF000000)
blackHex → const String
Colors
"#000000"
blue100 → const Color
Color(0xFFEBF8FF)
blue200 → const Color
Color(0xFFBEE3F8)
blue300 → const Color
Color(0xFF90CDF4)
blue400 → const Color
Color(0xFF63B3ED)
blue500 → const Color
Color(0xFF4299E1)
blue600 → const Color
Color(0xFF3182CE)
blue700 → const Color
Color(0xFF2B6CB0)
blue800 → const Color
Color(0xFF2C5282)
blue900 → const Color
Color(0xFF2A4365)
blueHex100 → const String
Blue Colors
"#EBF8FF"
blueHex200 → const String
"#BEE3F8"
blueHex300 → const String
"#90CDF4"
blueHex400 → const String
"#63B3ED"
blueHex500 → const String
"#4299E1"
blueHex600 → const String
"#3182CE"
blueHex700 → const String
"#2B6CB0"
blueHex800 → const String
"#2C5282"
blueHex900 → const String
"#2A4365"
dp0 → const double
Pixel Values
0.0
dp1 → const double
1.0
dp2 → const double
2.0
dp3 → const double
3.0
dp4 → const double
4.0
dp5 → const double
5.0
dp6 → const double
6.0
dp8 → const double
8.0
dp10 → const double
10.0
dp12 → const double
12.0
dp14 → const double
14.0
dp16 → const double
16.0
dp20 → const double
20.0
dp24 → const double
24.0
dp32 → const double
32.0
dp40 → const double
40.0
dp48 → const double
48.0
dp56 → const double
56.0
dp64 → const double
64.0
gray100 → const Color
Color(0xFFF7FAFC)
gray200 → const Color
Color(0xFFEDF2F7)
gray300 → const Color
Color(0xFFE2E8F0)
gray400 → const Color
Color(0xFFCBD5E0)
gray500 → const Color
Color(0xFFA0AEC0)
gray600 → const Color
Color(0xFF718096)
gray700 → const Color
Color(0xFF4A5568)
gray800 → const Color
Color(0xFF2D3748)
gray900 → const Color
Color(0xFF1A202C)
grayHex100 → const String
Gray Colors
"#F7FAFC"
grayHex200 → const String
"#EDF2F7"
grayHex300 → const String
"#E2E8F0"
grayHex400 → const String
"#CBD5E0"
grayHex500 → const String
"#A0AEC0"
grayHex600 → const String
"#718096"
grayHex700 → const String
"#4A5568"
grayHex800 → const String
"#2D3748"
grayHex900 → const String
"#1A202C"
green100 → const Color
Color(0xFFF0FFF4)
green200 → const Color
Color(0xFFC6F6D5)
green300 → const Color
Color(0xFF9AE6B4)
green400 → const Color
Color(0xFF68D391)
green500 → const Color
Color(0xFF48BB78)
green600 → const Color
Color(0xFF38A169)
green700 → const Color
Color(0xFF2F855A)
green800 → const Color
Color(0xFF276749)
green900 → const Color
Color(0xFF22543D)
greenHex100 → const String
Green Colors
"#F0FFF4"
greenHex200 → const String
"#C6F6D5"
greenHex300 → const String
"#9AE6B4"
greenHex400 → const String
"#68D391"
greenHex500 → const String
"#48BB78"
greenHex600 → const String
"#38A169"
greenHex700 → const String
"#2F855A"
greenHex800 → const String
"#276749"
greenHex900 → const String
"#22543D"
indigo100 → const Color
Color(0xFFEBF4FF)
indigo200 → const Color
Color(0xFFC3DAFE)
indigo300 → const Color
Color(0xFFA3BFFA)
indigo400 → const Color
Color(0xFF7F9CF5)
indigo500 → const Color
Color(0xFF667EEA)
indigo600 → const Color
Color(0xFF5A67D8)
indigo700 → const Color
Color(0xFF4C51BF)
indigo800 → const Color
Color(0xFF434190)
indigo900 → const Color
Color(0xFF3C366B)
indigoHex100 → const String
Indigo Colors
"#EBF4FF"
indigoHex200 → const String
"#C3DAFE"
indigoHex300 → const String
"#A3BFFA"
indigoHex400 → const String
"#7F9CF5"
indigoHex500 → const String
"#667EEA"
indigoHex600 → const String
"#5A67D8"
indigoHex700 → const String
"#4C51BF"
indigoHex800 → const String
"#434190"
indigoHex900 → const String
"#3C366B"
mH0 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp0)
mH1 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp1)
mH2 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp2)
mH4 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp4)
mH8 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp8)
mH12 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp12)
mH16 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp16)
mH20 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp20)
mH24 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp24)
mH32 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp32)
mH64 → const EdgeInsets
EdgeInsets.symmetric(horizontal: dp32)
mV0 → const EdgeInsets
Symmetric Fixed EdgeInsets
EdgeInsets.symmetric(vertical: dp0)
mV1 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp1)
mV2 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp2)
mV4 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp4)
mV8 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp8)
mV12 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp12)
mV16 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp16)
mV20 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp20)
mV24 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp24)
mV32 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp24)
mV64 → const EdgeInsets
EdgeInsets.symmetric(vertical: dp24)
orange100 → const Color
Color(0xFFFFFAF0)
orange200 → const Color
Color(0xFFFEEBC8)
orange300 → const Color
Color(0xFFFBD38D)
orange400 → const Color
Color(0xFFF6AD55)
orange500 → const Color
Color(0xFFED8936)
orange600 → const Color
Color(0xFFDD6B20)
orange700 → const Color
Color(0xFFC05621)
orange800 → const Color
Color(0xFF9C4221)
orange900 → const Color
Color(0xFF7B341E)
orangeHex100 → const String
Orange Colors
"#FFFAF0"
orangeHex200 → const String
"#FEEBC8"
orangeHex300 → const String
"#FBD38D"
orangeHex400 → const String
"#F6AD55"
orangeHex500 → const String
"#ED8936"
orangeHex600 → const String
"#DD6B20"
orangeHex700 → const String
"#C05621"
orangeHex800 → const String
"#9C4221"
orangeHex900 → const String
"#7B341E"
pink100 → const Color
Color(0xFFFFF5F7)
pink200 → const Color
Color(0xFFFED7E2)
pink300 → const Color
Color(0xFFFBB6CE)
pink400 → const Color
Color(0xFFF687B3)
pink500 → const Color
Color(0xFFED64A6)
pink600 → const Color
Color(0xFFD53F8C)
pink700 → const Color
Color(0xFFB83280)
pink800 → const Color
Color(0xFF97266D)
pink900 → const Color
Color(0xFF702459)
pinkHex100 → const String
Pink Colors
"#FFF5F7"
pinkHex200 → const String
"#FED7E2"
pinkHex300 → const String
"#FBB6CE"
pinkHex400 → const String
"#F687B3"
pinkHex500 → const String
"#ED64A6"
pinkHex600 → const String
"#D53F8C"
pinkHex700 → const String
"#B83280"
pinkHex800 → const String
"#97266D"
pinkHex900 → const String
"#702459"
purple100 → const Color
Color(0xFFFAF5FF)
purple200 → const Color
Color(0xFFE9D8FD)
purple300 → const Color
Color(0xFFD6BCFA)
purple400 → const Color
Color(0xFFB794F4)
purple500 → const Color
Color(0xFF9F7AEA)
purple600 → const Color
Color(0xFF805AD5)
purple700 → const Color
Color(0xFF6B46C1)
purple800 → const Color
Color(0xFF553C9A)
purple900 → const Color
Color(0xFF44337A)
purpleHex100 → const String
Purple Colors
"#FAF5FF"
purpleHex200 → const String
"#E9D8FD"
purpleHex300 → const String
"#D6BCFA"
purpleHex400 → const String
"#B794F4"
purpleHex500 → const String
"#9F7AEA"
purpleHex600 → const String
"#805AD5"
purpleHex700 → const String
"#6B46C1"
purpleHex800 → const String
"#553C9A"
purpleHex900 → const String
"#44337A"
red100 → const Color
Color(0xFFFFF5F5)
red200 → const Color
Color(0xFFFED7D7)
red300 → const Color
Color(0xFFFEB2B2)
red400 → const Color
Color(0xFFFC8181)
red500 → const Color
Color(0xFFF56565)
red600 → const Color
Color(0xFFE53E3E)
red700 → const Color
Color(0xFFC53030)
red800 → const Color
Color(0xFF9B2C2C)
red900 → const Color
Color(0xFF742A2A)
redHex100 → const String
Red Colors
"#FFF5F5"
redHex200 → const String
"#FED7D7"
redHex300 → const String
"#FEB2B2"
redHex400 → const String
"#FC8181"
redHex500 → const String
"#F56565"
redHex600 → const String
"#E53E3E"
redHex700 → const String
"#C53030"
redHex800 → const String
"#9B2C2C"
redHex900 → const String
"#742A2A"
teal100 → const Color
Color(0xFFE6FFFA)
teal200 → const Color
Color(0xFFB2F5EA)
teal300 → const Color
Color(0xFF81E6D9)
teal400 → const Color
Color(0xFF4FD1C5)
teal500 → const Color
Color(0xFF38B2AC)
teal600 → const Color
Color(0xFF319795)
teal700 → const Color
Color(0xFF2C7A7B)
teal800 → const Color
Color(0xFF285E61)
teal900 → const Color
Color(0xFF234E52)
tealHex100 → const String
Teal Colors
"#E6FFFA"
tealHex200 → const String
"#B2F5EA"
tealHex300 → const String
"#81E6D9"
tealHex400 → const String
"#4FD1C5"
tealHex500 → const String
"#38B2AC"
tealHex600 → const String
"#319795"
tealHex700 → const String
"#2C7A7B"
tealHex800 → const String
"#285E61"
tealHex900 → const String
"#234E52"
white → const Color
Color(0xFFFFFFFF)
whiteHex → const String
"#ffffff"
yellow100 → const Color
Color(0xFFFFFFF0)
yellow200 → const Color
Color(0xFFFEFCBF)
yellow300 → const Color
Color(0xFFFAF089)
yellow400 → const Color
Color(0xFFF6E05E)
yellow500 → const Color
Color(0xFFECC94B)
yellow600 → const Color
Color(0xFFD69E2E)
yellow700 → const Color
Color(0xFFB7791F)
yellow800 → const Color
Color(0xFF975A16)
yellow900 → const Color
Color(0xFF744210)
yellowHex100 → const String
Yellow Colors
"#FFFFF0"
yellowHex200 → const String
"#FEFCBF"
yellowHex300 → const String
"#FAF089"
yellowHex400 → const String
"#F6E05E"
yellowHex500 → const String
"#ECC94B"
yellowHex600 → const String
"#D69E2E"
yellowHex700 → const String
"#B7791F"
yellowHex800 → const String
"#975A16"
yellowHex900 → const String
"#744210"