UpStyle constructor

UpStyle({
  1. Color? appBackgroundColor,
  2. Color? codeBackgroundColor,
  3. Color? codeBorderColor,
  4. Color? codeTextColor,
  5. Color? drawerColor,
  6. Color? drawerHeaderColor,
  7. Color? drawerSurfaceTintColor,
  8. Color? drawerShadowColor,
  9. ShapeBorder? drawerShapeBorder,
  10. Gradient? drawerGradient,
  11. Color? backgroundColor,
  12. Color? circularProgressBarColor,
  13. Color? borderColor,
  14. Color? iconColor,
  15. double? borderWidth,
  16. Color? foregroundColor,
  17. Color? hoverBackgroundColor,
  18. Color? hoveredBorderColor,
  19. Color? hoveredForegroundColor,
  20. bool? isDisabled,
  21. Color? focusedBorderColor,
  22. Color? errorBorderColor,
  23. bool? isRounded,
  24. double? iconSize,
  25. double? borderRadius,
  26. Color? disabledBorderColor,
  27. Color? disabledBackgroundColor,
  28. Color? disabledForgroundColor,
  29. EdgeInsetsGeometry? alertDialogActionsPadding,
  30. Color? alertDialogBackgroundColor,
  31. EdgeInsetsGeometry? alertDialogButtonPadding,
  32. EdgeInsetsGeometry? alertDialogContentPadding,
  33. TextStyle? alertDialogContentTextStyle,
  34. Color? alertDialogIconColor,
  35. EdgeInsetsGeometry? alertDialogIconPadding,
  36. EdgeInsets? alertDialogInsetPadding,
  37. Color? alertDialogShadowColor,
  38. ShapeBorder? alertDialogShapeBorder,
  39. Color? alertDialogSurfaceTintColor,
  40. EdgeInsetsGeometry? alertDialogTitlePadding,
  41. TextStyle? alertDialogTitleTextstyle,
  42. Gradient? toastBackgroundGradient,
  43. Color? toastBackgroundColor,
  44. Color? toastForegroundColor,
  45. Icon? toastIcon,
  46. Color? toastTextColor,
  47. TextDecoration? textDecoration,
  48. double? heading1Size,
  49. double? heading2Size,
  50. double? heading3Size,
  51. double? heading4Size,
  52. double? heading5Size,
  53. double? heading6Size,
  54. double? paragraphSize,
  55. Color? textBackgroundColor,
  56. Color? textColor,
  57. double? textSize,
  58. FontWeight? textWeight,
  59. FontStyle? textFontStyle,
  60. String? textFontFamily,
  61. FontWeight? heading1Weight,
  62. FontWeight? heading2Weight,
  63. FontWeight? heading3Weight,
  64. FontWeight? heading4Weight,
  65. FontWeight? heading5Weight,
  66. FontWeight? heading6Weight,
  67. FontWeight? paragraphWeight,
  68. Color? tableBorderColor,
  69. Color? tableRowColor,
  70. double? tableRowMinHeight,
  71. double? tableRowMaxHeight,
  72. Color? tableRowFocusedColor,
  73. Color? tableRowHoverColor,
  74. Color? tableRowPressedColor,
  75. Color? tableHeaderColor,
  76. Color? tableFooterColor,
  77. Color? tableHeaderTextColor,
  78. double? tableHeight,
  79. double? tableWidth,
  80. double? tableBorderRadius,
  81. FontWeight? tableHeaderTextWeight,
  82. Color? tableFooterTextColor,
  83. Color? tableRowDividerColor,
  84. Color? tableIconColor,
  85. double? tableHeaderTextSize,
  86. double? tableHeadingRowHeight,
  87. double? tableRowHeight,
  88. Color? appBarColor,
  89. double? appBarHeight,
  90. Color? appBarTitleColor,
  91. double? appBarTitleSize,
  92. IconThemeData? appBarActionsIconTheme,
  93. double? appBarBottomOpacity,
  94. double? appBarElevation,
  95. Color? appBarForgroundColor,
  96. Color? appBarShadowColor,
  97. ShapeBorder? appBarShape,
  98. Color? appBarSurfaceTintColor,
  99. SystemUiOverlayStyle? appBarSystemOverlayStyle,
  100. double? buttonTextSize,
  101. FontWeight? buttonTextWeight,
  102. double? textStrokeWidth,
  103. Color? textStrokeColor,
  104. Color? buttonBackgroundColor,
  105. Color? buttonBorderColor,
  106. double? buttonBorderRadius,
  107. double? buttonBorderWidth,
  108. Color? buttonHoverBackgroundColor,
  109. Color? buttonHoverBorderColor,
  110. Color? buttonHoverTextColor,
  111. BoxFit? buttonTextFit,
  112. Color? buttonTextColor,
  113. Color? buttonDisabledBorderColor,
  114. Color? buttonDisabledTextColor,
  115. Color? buttonDisbaledBackgroundColor,
  116. Image? buttonBackgroundImage,
  117. Gradient? buttonBackgroundGradient,
  118. UpStyle? buttonBorderBottomStyle,
  119. UpStyle? buttonBorderLeftStyle,
  120. UpStyle? buttonBorderRightStyle,
  121. UpStyle? buttonBorderTopStyle,
  122. BorderStyle? buttonBorderStyle,
  123. double? buttonHeight,
  124. double? buttonWidth,
  125. Color? checkboxBackgroundColor,
  126. Color? checkboxBorderColor,
  127. double? checkboxBorderRadius,
  128. double? checkboxBorderWidth,
  129. Color? checkboxHoverBorderColor,
  130. Color? checkboxRippleColor,
  131. Color? checkboxLabelColor,
  132. double? checkboxLabelSize,
  133. Color? checkboxCheckedColor,
  134. Color? checkboxDisabledBackgroundColor,
  135. Color? checkboxDisabledLabelColor,
  136. Color? checkboxCheckedDisabledColor,
  137. Color? radioButtonBorderColor,
  138. Color? radioButtonDisabledBorderColor,
  139. Color? radioButtonDisabledFilledColor,
  140. double? radioButtonBorderRadius,
  141. double? radioButtonBorderWidth,
  142. Color? radioButtonFilledColor,
  143. Color? radioButtonHoverBorderColor,
  144. Color? radioButtonLabelColor,
  145. double? radioButtonLabelSize,
  146. Color? radioButtonRippleColor,
  147. Color? radioButtonDisabledLabelColor,
  148. Color? textfieldHintColor,
  149. double? textfieldHintSize,
  150. Color? textfieldBorderColor,
  151. Color? textfieldErrorBorderColor,
  152. Color? textfieldFocusedBorderColor,
  153. Color? textfieldLabelColor,
  154. Color? textfieldLabelFocusedColor,
  155. double? textfieldBorderRadius,
  156. double? textfieldBorderWidth,
  157. Color? textfieldCursorColor,
  158. double? textfieldLabelSize,
  159. double? textfieldFocusedLabelSize,
  160. Color? textfieldFilledColor,
  161. Color? textfieldFocusedFilledColor,
  162. Color? textfieldTextColor,
  163. double? dropdownBorderWidth,
  164. Color? dropdownMenuTextColor,
  165. Color? dropdownMenuColor,
  166. Color? dropdownTextColor,
  167. Color? dropdownBorderColor,
  168. double? dropdownBorderRadius,
  169. Color? dropdownErrorBorderColor,
  170. Color? dropdownFocusedBorderColor,
  171. Color? dropdownLabelColor,
  172. double? dropdownLabelSize,
  173. Color? dropdownFocusedFilledColor,
  174. Color? dropdownLabelFocusedColor,
  175. Color? dropdownFilledColor,
  176. Color? datePickerDialogBackgroundColor,
  177. Color? datePickerOnPrimaryColor,
  178. Color? datePickerOnSurfaceColor,
  179. Color? datePickerPrimaryColor,
  180. Color? datePickerSurfaceColor,
  181. Color? timePickerDialogBackgroundColor,
  182. Color? timePickerOnPrimaryColor,
  183. Color? timePickerOnSurfaceColor,
  184. Color? timePickerPrimaryColor,
  185. Color? timePickerSurfaceColor,
  186. Color? expansionTileBackgroundColor,
  187. Color? expansionTileCollapsedBackgroundColor,
  188. Color? expansionTileCollapsedIconColor,
  189. Color? expansionTileCollapsedTextColor,
  190. Color? expansionTileIconColor,
  191. Color? expansionTileTextColor,
  192. Color? expansionTileDividerColor,
  193. Color? listTileColor,
  194. Color? listTileFocusedColor,
  195. Color? listTileHoveredColor,
  196. Color? listTileIconColor,
  197. Color? listTileSelectedTextColor,
  198. Color? listTileSelectedIconColor,
  199. Color? listTileSelectedTileColor,
  200. Color? listTileTextColor,
  201. double? cardHeight,
  202. double? cardWidth,
  203. Color? cardHeaderColor,
  204. Gradient? cardHeaderGradient,
  205. Color? cardColor,
  206. Gradient? cardGradient,
  207. Gradient? cardBodyGradient,
  208. double? cardRadius,
  209. BoxShape? cardShape,
  210. Color? cardBodyColor,
  211. bool? cardBodyPadding = true,
  212. bool? cardHeaderPadding = true,
  213. Border? cardBorder,
  214. double? sideBarDefaultViewWidthPercentage,
  215. double? sideBarCompactViewWidth,
  216. double? sideBarMaximumScreenWidthForCompactView,
  217. Gradient? sideBarLeftSideGradient,
  218. Color? sideBarLeftSideColor,
  219. double? sideBarLeftSideRadius,
  220. bool? sideBarLeftSidePadding = true,
  221. double? sideBarRightSideWidthPercentage,
  222. Gradient? sideBarRightSideGradient,
  223. Color? sideBarRightSideColor,
  224. double? sideBarRightSideRadius,
  225. bool? sideBarRightSidePadding = true,
  226. double? scaffoldFixedDrawerWidthPercentage,
  227. double? scaffoldCompactDrawerWidth,
  228. double? scaffoldMaximumScreenWidthForCompactDrawer,
  229. Gradient? scaffoldFixedDrawerGradient,
  230. Color? scaffoldFixedDrawerColor,
  231. double? scaffoldFixedDrawerRadius,
  232. Gradient? scaffoldBodyGradient,
  233. Color? scaffoldBodyColor,
  234. double? scaffoldBodyRadius,
  235. double? appBarToggleIconPadding,
  236. double? appBarToggleIconSize,
  237. IconData? appBarToggleIcon,
  238. Color? appBarToggleIconColor,
})

Implementation

UpStyle({
  this.appBackgroundColor,
  // code
  this.codeBackgroundColor,
  this.codeBorderColor,
  this.codeTextColor,

  //drawer
  this.drawerColor,
  this.drawerHeaderColor,
  this.drawerSurfaceTintColor,
  this.drawerShadowColor,
  this.drawerShapeBorder,
  this.drawerGradient,

  // General
  this.backgroundColor,
  // this.dialogBackgroundColor,
  this.circularProgressBarColor,
  this.borderColor,
  this.iconColor,
  this.borderWidth,
  this.foregroundColor,
  this.hoverBackgroundColor,
  this.hoveredBorderColor,
  this.hoveredForegroundColor,
  this.isDisabled,
  this.focusedBorderColor,
  this.errorBorderColor,
  this.isRounded,
  this.iconSize,
  this.borderRadius,
  this.disabledBorderColor,
  this.disabledBackgroundColor,
  this.disabledForgroundColor,

  // alert dialog
  this.alertDialogActionsPadding,
  this.alertDialogBackgroundColor,
  this.alertDialogButtonPadding,
  this.alertDialogContentPadding,
  this.alertDialogContentTextStyle,
  this.alertDialogIconColor,
  this.alertDialogIconPadding,
  this.alertDialogInsetPadding,
  this.alertDialogShadowColor,
  this.alertDialogShapeBorder,
  this.alertDialogSurfaceTintColor,
  this.alertDialogTitlePadding,
  this.alertDialogTitleTextstyle,

  // Toast
  this.toastBackgroundGradient,
  this.toastBackgroundColor,
  this.toastForegroundColor,
  this.toastIcon,
  this.toastTextColor,

  // Text
  this.textDecoration,
  this.heading1Size,
  this.heading2Size,
  this.heading3Size,
  this.heading4Size,
  this.heading5Size,
  this.heading6Size,
  this.paragraphSize,
  this.textBackgroundColor,
  this.textColor,
  this.textSize,
  this.textWeight,
  this.textFontStyle,
  this.textFontFamily,
  this.heading1Weight,
  this.heading2Weight,
  this.heading3Weight,
  this.heading4Weight,
  this.heading5Weight,
  this.heading6Weight,
  this.paragraphWeight,

  // Table
  this.tableBorderColor,
  this.tableRowColor,
  this.tableRowMinHeight,
  this.tableRowMaxHeight,
  this.tableRowFocusedColor,
  this.tableRowHoverColor,
  this.tableRowPressedColor,
  this.tableHeaderColor,
  this.tableFooterColor,
  this.tableHeaderTextColor,
  this.tableHeight,
  this.tableWidth,
  this.tableBorderRadius,
  this.tableHeaderTextWeight,
  this.tableFooterTextColor,
  this.tableRowDividerColor,
  this.tableIconColor,
  this.tableHeaderTextSize,
  this.tableHeadingRowHeight,
  this.tableRowHeight,

  // AppBar
  this.appBarColor,
  this.appBarHeight,
  this.appBarTitleColor,
  this.appBarTitleSize,
  this.appBarActionsIconTheme,
  this.appBarBottomOpacity,
  this.appBarElevation,
  this.appBarForgroundColor,
  this.appBarShadowColor,
  this.appBarShape,
  this.appBarSurfaceTintColor,
  this.appBarSystemOverlayStyle,

  // Button
  this.buttonTextSize,
  this.buttonTextWeight,
  this.textStrokeWidth,
  this.textStrokeColor,
  this.buttonBackgroundColor,
  this.buttonBorderColor,
  this.buttonBorderRadius,
  this.buttonBorderWidth,
  this.buttonHoverBackgroundColor,
  this.buttonHoverBorderColor,
  this.buttonHoverTextColor,
  this.buttonTextFit,
  this.buttonTextColor,
  this.buttonDisabledBorderColor,
  this.buttonDisabledTextColor,
  this.buttonDisbaledBackgroundColor,
  this.buttonBackgroundImage,
  this.buttonBackgroundGradient,
  this.buttonBorderBottomStyle,
  this.buttonBorderLeftStyle,
  this.buttonBorderRightStyle,
  this.buttonBorderTopStyle,
  this.buttonBorderStyle,
  this.buttonHeight,
  this.buttonWidth,

  // Checkbox
  this.checkboxBackgroundColor,
  this.checkboxBorderColor,
  this.checkboxBorderRadius,
  this.checkboxBorderWidth,
  this.checkboxHoverBorderColor,
  this.checkboxRippleColor,
  this.checkboxLabelColor,
  this.checkboxLabelSize,
  this.checkboxCheckedColor,
  this.checkboxDisabledBackgroundColor,
  this.checkboxDisabledLabelColor,
  this.checkboxCheckedDisabledColor,

  // Radio button
  this.radioButtonBorderColor,
  this.radioButtonDisabledBorderColor,
  this.radioButtonDisabledFilledColor,
  this.radioButtonBorderRadius,
  this.radioButtonBorderWidth,
  this.radioButtonFilledColor,
  this.radioButtonHoverBorderColor,
  this.radioButtonLabelColor,
  this.radioButtonLabelSize,
  this.radioButtonRippleColor,
  this.radioButtonDisabledLabelColor,

  // Text field
  this.textfieldHintColor,
  this.textfieldHintSize,
  this.textfieldBorderColor,
  this.textfieldErrorBorderColor,
  this.textfieldFocusedBorderColor,
  this.textfieldLabelColor,
  this.textfieldLabelFocusedColor,
  this.textfieldBorderRadius,
  this.textfieldBorderWidth,
  this.textfieldCursorColor,
  this.textfieldLabelSize,
  this.textfieldFocusedLabelSize,
  this.textfieldFilledColor,
  this.textfieldFocusedFilledColor,
  this.textfieldTextColor,

  // Drodown
  this.dropdownBorderWidth,
  this.dropdownMenuTextColor,
  this.dropdownMenuColor,
  this.dropdownTextColor,
  this.dropdownBorderColor,
  this.dropdownBorderRadius,
  this.dropdownErrorBorderColor,
  this.dropdownFocusedBorderColor,
  this.dropdownLabelColor,
  this.dropdownLabelSize,
  this.dropdownFocusedFilledColor,
  this.dropdownLabelFocusedColor,
  this.dropdownFilledColor,

  // Datepicker
  this.datePickerDialogBackgroundColor,
  this.datePickerOnPrimaryColor,
  this.datePickerOnSurfaceColor,
  this.datePickerPrimaryColor,
  this.datePickerSurfaceColor,

  // Time picker
  this.timePickerDialogBackgroundColor,
  this.timePickerOnPrimaryColor,
  this.timePickerOnSurfaceColor,
  this.timePickerPrimaryColor,
  this.timePickerSurfaceColor,

  //expansion tile
  this.expansionTileBackgroundColor,
  this.expansionTileCollapsedBackgroundColor,
  this.expansionTileCollapsedIconColor,
  this.expansionTileCollapsedTextColor,
  this.expansionTileIconColor,
  this.expansionTileTextColor,
  this.expansionTileDividerColor,

  // list tile
  this.listTileColor,
  this.listTileFocusedColor,
  this.listTileHoveredColor,
  this.listTileIconColor,
  this.listTileSelectedTextColor,
  this.listTileSelectedIconColor,
  this.listTileSelectedTileColor,
  this.listTileTextColor,

  // card
  this.cardHeight,
  this.cardWidth,
  this.cardHeaderColor,
  this.cardHeaderGradient,
  this.cardColor,
  this.cardGradient,
  this.cardBodyGradient,
  this.cardRadius,
  this.cardShape,
  this.cardBodyColor,
  this.cardBodyPadding = true,
  this.cardHeaderPadding = true,
  this.cardBorder,

  // SideBar
  this.sideBarDefaultViewWidthPercentage,
  this.sideBarCompactViewWidth,
  this.sideBarMaximumScreenWidthForCompactView,
  this.sideBarLeftSideGradient,
  this.sideBarLeftSideColor,
  this.sideBarLeftSideRadius,
  this.sideBarLeftSidePadding = true,
  this.sideBarRightSideWidthPercentage,
  this.sideBarRightSideGradient,
  this.sideBarRightSideColor,
  this.sideBarRightSideRadius,
  this.sideBarRightSidePadding = true,

  // Scaffold
  this.scaffoldFixedDrawerWidthPercentage,
  this.scaffoldCompactDrawerWidth,
  this.scaffoldMaximumScreenWidthForCompactDrawer,
  this.scaffoldFixedDrawerGradient,
  this.scaffoldFixedDrawerColor,
  this.scaffoldFixedDrawerRadius,
  this.scaffoldBodyGradient,
  this.scaffoldBodyColor,
  this.scaffoldBodyRadius,
  this.appBarToggleIconPadding,
  this.appBarToggleIconSize,
  this.appBarToggleIcon,
  this.appBarToggleIconColor,
});