core library

Classes

CameraFooter
CancelButton
CaptureButton
ConfirmButton
DarwinCameraHelper
DarwinCameraResult
DarwinFont
LoaderOverlay
RenderCameraStream
RenderCapturedImage
ToggleCameraButton
This widget will send event to toggle camera.

Constants

DarwinAccent → const Color
const Color(0xff62e1fc)
DarwinAccentLight → const Color
const Color.fromRGBO(98, 225, 252, 0.15)
DarwinBlack → const Color
const Color(0xff000000)
DarwinBoxShadow → const Color
Shadow color for Boxes
const Color(0x592026d2)
DarwinDanger → const Color
const Color(0xfff64a4a)
DarwinDangerLight → const Color
const Color(0xfffce8e6)
DarwinDangerLighter → const Color
const Color.fromRGBO(252, 232, 230, 0.4)
DarwinDangerShadow → const Color
Danger color with opacity (shadow)
const Color.fromRGBO(246, 74, 74, 0.45)
DarwinGrayDark → const Color
const Color(0xff8e95a1)
DarwinGrayLight → const Color
const Color(0xffe6e8eb)
DarwinGrayNormal → const Color
const Color(0xffc2c7cf)
DarwinInfo → const Color
const Color(0xff3eacfc)
DarwinInfoLight → const Color
const Color(0xffe8f0fd)
DarwinInfoShadow → const Color
Info color with opacity (shadow)
const Color.fromRGBO(62, 172, 252, 0.45)
DarwinOverlay → const Color
Overlay color
const Color.fromRGBO(22, 24, 73, 0.5)
DarwinPrimary → const Color
const Color(0xff2026d2)
DarwinPrimaryDark → const Color
const Color(0xff161849)
DarwinPrimaryDarkShadow → const Color
Primary Dark color with opacity (shadow)
const Color.fromRGBO(22, 24, 73, 0.2)
DarwinPrimaryDarkShadowLight → const Color
const Color.fromRGBO(22, 24, 73, 0.08)
DarwinPrimaryLight → const Color
const Color(0xffd7ebfb)
DarwinPrimaryLighter → const Color
const Color(0xffecf7ff)
DarwinPrimaryLightShadow → const Color
Primary Light color with opacity (shadow)
const Color.fromRGBO(32, 38, 210, 0.15)
DarwinPrimarySteel → const Color
const Color(0xff9dc0da)
DarwinSecondary → const Color
const Color(0xfff34d77)
DarwinSuccess → const Color
const Color(0xff4aa740)
DarwinSuccessLight → const Color
const Color(0xffe6f4e9)
DarwinSuccessShadow → const Color
Success color with opacity (shadow)
const Color.fromRGBO(74, 167, 64, 0.45)
DarwinTransparent → const Color
const Color.fromRGBO(22, 24, 73, 0)
DarwinWarning → const Color
const Color(0xffff8212)
DarwinWarningLight → const Color
const Color(0xffffecdc)
DarwinWarningShadow → const Color
Warning color with opacity (shadow)
const Color.fromRGBO(255, 130, 18, 0.45)
DarwinWhite → const Color
const Color(0xffffffff)
DarwinWhiteSplash → const Color
Splash color for normal Buttons
const Color.fromRGBO(255, 255, 255, 0.1)
grid_spacer → const double
8.0
margin_a_l → const EdgeInsets
const EdgeInsets.all(grid_spacer * 5)
margin_a_m → const EdgeInsets
const EdgeInsets.all(grid_spacer * 4)
margin_a_s → const EdgeInsets
const EdgeInsets.all(grid_spacer * 3)
margin_a_xl → const EdgeInsets
const EdgeInsets.all(grid_spacer * 6)
margin_a_xs → const EdgeInsets
const EdgeInsets.all(grid_spacer * 2)
margin_a_xxl → const EdgeInsets
const EdgeInsets.all(grid_spacer * 7)
margin_a_xxs → const EdgeInsets
const EdgeInsets.all(grid_spacer)
margin_bottom_l → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 5)
margin_bottom_m → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 4)
margin_bottom_none → const EdgeInsets
const EdgeInsets.only(bottom: 0)
margin_bottom_s → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 3)
margin_bottom_xl → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 6)
margin_bottom_xs → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 2)
margin_bottom_xxl → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 7)
margin_bottom_xxs → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer)
margin_left_l → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 5, 0, 0, 0)
margin_left_m → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 4, 0, 0, 0)
margin_left_none → const EdgeInsets
const EdgeInsets.only(left: 0)
margin_left_s → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 3, 0, 0, 0)
margin_left_xl → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 6, 0, 0, 0)
margin_left_xs → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 2, 0, 0, 0)
margin_left_xxl → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer * 7, 0, 0, 0)
margin_left_xxs → const EdgeInsets
const EdgeInsets.fromLTRB(grid_spacer, 0, 0, 0)
margin_none → const EdgeInsets
const EdgeInsets.all(0)
margin_right_l → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 5, 0)
margin_right_m → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 4, 0)
margin_right_none → const EdgeInsets
const EdgeInsets.only(right: 0)
margin_right_s → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 3, 0)
margin_right_xl → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 6, 0)
margin_right_xs → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 2, 0)
margin_right_xxl → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 7, 0)
margin_right_xxs → const EdgeInsets
const EdgeInsets.fromLTRB(0, 0, grid_spacer, 0)
margin_top_l → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 5, 0, 0)
margin_top_m → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 4, 0, 0)
margin_top_none → const EdgeInsets
const EdgeInsets.only(top: 0)
margin_top_s → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 3, 0, 0)
margin_top_xl → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 6, 0, 0)
margin_top_xs → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 2, 0, 0)
margin_top_xxl → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 7, 0, 0)
margin_top_xxs → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer, 0, 0)
margin_x_l → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 5)
margin_x_m → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 4)
margin_x_none → const EdgeInsets
const EdgeInsets.symmetric(horizontal: 0)
margin_x_s → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 3)
margin_x_xl → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 6)
margin_x_xs → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 2)
margin_x_xxl → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 7)
margin_x_xxs → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer)
margin_y_l → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 5)
margin_y_m → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 4)
margin_y_none → const EdgeInsets
const EdgeInsets.symmetric(vertical: 0)
margin_y_s → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 3)
margin_y_xl → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 6)
margin_y_xs → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 2)
margin_y_xxl → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer * 7)
margin_y_xxs → const EdgeInsets
const EdgeInsets.symmetric(vertical: grid_spacer)
padding_a_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.all(grid_spacer * 5)
padding_a_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.all(grid_spacer * 4)
padding_a_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.all(grid_spacer * 3)
padding_a_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.all(grid_spacer * 6)
padding_a_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.all(grid_spacer * 2)
padding_a_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.all(grid_spacer * 7)
padding_a_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.all(grid_spacer)
padding_a_xxxs → const EdgeInsets
grid_spacer * 0.5
const EdgeInsets.all(grid_spacer * 0.5)
padding_bottom_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 5)
padding_bottom_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 4)
padding_bottom_none → const EdgeInsets
const EdgeInsets.only(bottom: 0)
padding_bottom_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 3)
padding_bottom_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 6)
padding_bottom_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 2)
padding_bottom_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer * 7)
padding_bottom_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.fromLTRB(0, 0, 0, grid_spacer)
padding_button_l → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 2)
padding_button_m → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 2)
padding_button_s → const EdgeInsets
const EdgeInsets.symmetric(horizontal: grid_spacer * 2)
padding_left_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.fromLTRB(grid_spacer * 5, 0, 0, 0)
padding_left_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.fromLTRB(grid_spacer * 4, 0, 0, 0)
padding_left_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.fromLTRB(grid_spacer * 3, 0, 0, 0)
padding_left_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.fromLTRB(grid_spacer * 6, 0, 0, 0)
padding_left_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.fromLTRB(grid_spacer * 2, 0, 0, 0)
padding_left_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.fromLTRB(grid_spacer * 7, 0, 0, 0)
padding_left_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.fromLTRB(grid_spacer, 0, 0, 0)
padding_left_xxxs → const EdgeInsets
grid_spacer / 2
const EdgeInsets.fromLTRB(grid_spacer / 2, 0, 0, 0)
padding_none → const EdgeInsets
const EdgeInsets.all(0)
padding_right_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 5, 0)
padding_right_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 4, 0)
padding_right_none → const EdgeInsets
grid_spacer * 7
const EdgeInsets.only(right: 0)
padding_right_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 3, 0)
padding_right_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 6, 0)
padding_right_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 2, 0)
padding_right_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.fromLTRB(0, 0, grid_spacer * 7, 0)
padding_right_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.fromLTRB(0, 0, grid_spacer, 0)
padding_top_l → const EdgeInsets
grid_spacer * 4
const EdgeInsets.fromLTRB(0, grid_spacer * 5, 0, 0)
padding_top_left → const EdgeInsets
const EdgeInsets.only(left: 0)
padding_top_m → const EdgeInsets
grid_spacer * 3
const EdgeInsets.fromLTRB(0, grid_spacer * 4, 0, 0)
padding_top_none → const EdgeInsets
const EdgeInsets.only(top: 0)
padding_top_s → const EdgeInsets
grid_spacer * 2
const EdgeInsets.fromLTRB(0, grid_spacer * 3, 0, 0)
padding_top_xl → const EdgeInsets
grid_spacer * 5
const EdgeInsets.fromLTRB(0, grid_spacer * 6, 0, 0)
padding_top_xs → const EdgeInsets
const EdgeInsets.fromLTRB(0, grid_spacer * 2, 0, 0)
padding_top_xxl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.fromLTRB(0, grid_spacer * 7, 0, 0)
padding_top_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.fromLTRB(0, grid_spacer, 0, 0)
padding_x_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.symmetric(horizontal: grid_spacer * 5)
padding_x_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.symmetric(horizontal: grid_spacer * 4)
padding_x_none → const EdgeInsets
const EdgeInsets.symmetric(horizontal: 0)
padding_x_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.symmetric(horizontal: grid_spacer * 3)
padding_x_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.symmetric(horizontal: grid_spacer * 6)
padding_x_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.symmetric(horizontal: grid_spacer * 2)
padding_x_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.symmetric(horizontal: grid_spacer * 7)
padding_x_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.symmetric(horizontal: grid_spacer)
padding_y_l → const EdgeInsets
grid_spacer * 5
const EdgeInsets.symmetric(vertical: grid_spacer * 5)
padding_y_m → const EdgeInsets
grid_spacer * 4
const EdgeInsets.symmetric(vertical: grid_spacer * 4)
padding_y_none → const EdgeInsets
const EdgeInsets.symmetric(vertical: 0)
padding_y_s → const EdgeInsets
grid_spacer * 3
const EdgeInsets.symmetric(vertical: grid_spacer * 3)
padding_y_xl → const EdgeInsets
grid_spacer * 6
const EdgeInsets.symmetric(vertical: grid_spacer * 6)
padding_y_xs → const EdgeInsets
grid_spacer * 2
const EdgeInsets.symmetric(vertical: grid_spacer * 2)
padding_y_xxl → const EdgeInsets
grid_spacer * 7
const EdgeInsets.symmetric(vertical: grid_spacer * 7)
padding_y_xxs → const EdgeInsets
grid_spacer * 1
const EdgeInsets.symmetric(vertical: grid_spacer)
padding_y_xxxs → const EdgeInsets
grid_spacer * 0.5
const EdgeInsets.symmetric(vertical: grid_spacer * 0.5)
primaryH1Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 37.0)
primaryH2Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 28.0)
primaryH3Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 21.0)
primaryJumboBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 49.0)
primaryLabelBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 12.0)
primaryLabelRegular → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w300, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 12.0)
primaryPBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 16.0)
primaryPRegular → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w300, fontFamily: 'Gilroy', fontStyle: FontStyle.normal, fontSize: 16.0)
secondaryH1Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 37.0)
secondaryH2Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 28.0)
secondaryH3Bold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 21.0)
secondaryH3Regular → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w300, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 21.0)
secondaryJumboBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 49.0)
secondaryLabelBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 12.0)
secondaryLabelRegular → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w300, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 12.0)
secondaryPBold → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w700, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 16.0)
secondaryPRegular → const TextStyle
const TextStyle(color: DarwinPrimaryDark, fontWeight: FontWeight.w300, fontFamily: 'Avenir', fontStyle: FontStyle.normal, fontSize: 16.0)

Properties

captureButtonInnerBorderRadius double
read / write
captureButtonInnerShutterSize double
read / write
captureButtonPosition double
read / write
captureButtonSize double
read / write

Enums

CameraState