Line data Source code
1 : class UnicoTheme { 2 : 3 : String? colorBackground; 4 : String? colorBoxMessage; 5 : String? colorTextMessage; 6 : String? colorBackgroundPopupError; 7 : String? colorTextPopupError; 8 : String? colorBackgroundButtonPopupError; 9 : String? colorTextButtonPopupError; 10 : String? colorBackgroundTakePictureButton; 11 : String? colorIconTakePictureButton; 12 : String? colorBackgroundBottomDocument; 13 : String? colorTextBottomDocument; 14 : String? colorSilhouetteSuccess; 15 : String? colorSilhouetteError; 16 : String? colorSilhouetteNeutral; 17 : 18 : ///Objeto de tema da unico 19 0 : UnicoTheme({ 20 : this.colorBackground, 21 : this.colorBoxMessage, 22 : this.colorTextMessage, 23 : this.colorBackgroundPopupError, 24 : this.colorTextPopupError, 25 : this.colorBackgroundButtonPopupError, 26 : this.colorTextButtonPopupError, 27 : this.colorBackgroundTakePictureButton, 28 : this.colorIconTakePictureButton, 29 : this.colorBackgroundBottomDocument, 30 : this.colorTextBottomDocument, 31 : this.colorSilhouetteSuccess, 32 : this.colorSilhouetteError, 33 : this.colorSilhouetteNeutral, 34 : }); 35 : 36 0 : Map<dynamic, dynamic> get getCommonMap { 37 0 : var map = <String, dynamic>{ 38 : /// Cor de sucesso da silhueta. 39 0 : 'colorBackground': colorBackground, 40 : 41 : /// Cor de fundo da mensagem. 42 0 : 'colorBoxMessage': colorBoxMessage, 43 : 44 : /// Cor de texto da mensagem. 45 0 : 'colorTextMessage': colorTextMessage, 46 : 47 : /// Cor de fundo do popup. 48 0 : 'colorBackgroundPopupError': colorBackgroundPopupError, 49 : 50 : /// Cor de texto e ícones do popup. 51 0 : 'colorTextPopupError': colorTextPopupError, 52 : 53 : /// Cor de fundo do botão do popup. 54 0 : 'colorBackgroundButtonPopupError': colorBackgroundButtonPopupError, 55 : 56 : /// Cor de texto do botão do popup. 57 0 : 'colorTextButtonPopupError': colorTextButtonPopupError, 58 : 59 : /// Cor de fundo do botão de tirar foto manualmente. 60 0 : 'colorBackgroundTakePictureButton': colorBackgroundTakePictureButton, 61 : 62 : /// Cor de ícone do botão de tirar foto manualmente. 63 0 : 'colorIconTakePictureButton': colorIconTakePictureButton, 64 : 65 : /// Adiciona cor no icone do botão de captura 66 0 : 'colorBackgroundBottomDocument': colorBackgroundBottomDocument, 67 : 68 : /// Cor de fundo do box na captura de documentos. 69 0 : 'colorTextBottomDocument': colorTextBottomDocument, 70 : 71 : /// Cor de sucesso da silhueta. 72 0 : 'colorSilhouetteSuccess': colorSilhouetteSuccess, 73 : 74 : /// Cor de erro da silhueta. 75 0 : 'colorSilhouetteNeutral': colorSilhouetteNeutral 76 : }; 77 : 78 : return map; 79 : } 80 : }