cp_constants library

Constants

cancelText → const String
'Cancel'
confirmTitle → const String
'Confirm'
cp_error → const Color
const Color(0xffd50000)
cp_primary → const Color
const Color(0xff2d8cf0)
cp_success → const Color
const Color(0xff19be6b)
cp_warning → const Color
const Color(0xffff9900)
cp_white → const Color
const Color(0xffffffff)
errorTitle → const String
'Error'
inputText → const String
'Submit'
inputTitle → const String
'Enter email'
okText → const String
'Okay'
successTitle → const String
'Success'
textBtnDark → const TextStyle
const TextStyle(fontSize: 16.0, fontWeight: FontWeight.w400, color: Colors.black87)
textBtnLight → const TextStyle
const TextStyle(fontSize: 16.0, fontWeight: FontWeight.w400, color: Colors.white)
warningTitle → const String
'Warning'

Functions

bgColor(Color color, bool transparent, dynamic type) Color