UpStyle constructor
UpStyle({
- Color? appBackgroundColor,
- Color? codeBackgroundColor,
- Color? codeBorderColor,
- Color? codeTextColor,
- Color? drawerColor,
- Color? drawerHeaderColor,
- Color? drawerSurfaceTintColor,
- Color? drawerShadowColor,
- ShapeBorder? drawerShapeBorder,
- Gradient? drawerGradient,
- Color? backgroundColor,
- Color? circularProgressBarColor,
- Color? borderColor,
- Color? iconColor,
- double? borderWidth,
- Color? foregroundColor,
- Color? hoverBackgroundColor,
- Color? hoveredBorderColor,
- Color? hoveredForegroundColor,
- bool? isDisabled,
- Color? focusedBorderColor,
- Color? errorBorderColor,
- bool? isRounded,
- double? iconSize,
- double? borderRadius,
- Color? disabledBorderColor,
- Color? disabledBackgroundColor,
- Color? disabledForgroundColor,
- EdgeInsetsGeometry? alertDialogActionsPadding,
- Color? alertDialogBackgroundColor,
- EdgeInsetsGeometry? alertDialogButtonPadding,
- EdgeInsetsGeometry? alertDialogContentPadding,
- TextStyle? alertDialogContentTextStyle,
- Color? alertDialogIconColor,
- EdgeInsetsGeometry? alertDialogIconPadding,
- EdgeInsets? alertDialogInsetPadding,
- Color? alertDialogShadowColor,
- ShapeBorder? alertDialogShapeBorder,
- Color? alertDialogSurfaceTintColor,
- EdgeInsetsGeometry? alertDialogTitlePadding,
- TextStyle? alertDialogTitleTextstyle,
- Gradient? toastBackgroundGradient,
- Color? toastBackgroundColor,
- Color? toastForegroundColor,
- Icon? toastIcon,
- Color? toastTextColor,
- TextDecoration? textDecoration,
- double? heading1Size,
- double? heading2Size,
- double? heading3Size,
- double? heading4Size,
- double? heading5Size,
- double? heading6Size,
- double? paragraphSize,
- Color? textBackgroundColor,
- Color? textColor,
- double? textSize,
- FontWeight? textWeight,
- FontStyle? textFontStyle,
- String? textFontFamily,
- FontWeight? heading1Weight,
- FontWeight? heading2Weight,
- FontWeight? heading3Weight,
- FontWeight? heading4Weight,
- FontWeight? heading5Weight,
- FontWeight? heading6Weight,
- FontWeight? paragraphWeight,
- Color? tableBorderColor,
- Color? tableRowColor,
- double? tableRowMinHeight,
- double? tableRowMaxHeight,
- Color? tableRowFocusedColor,
- Color? tableRowHoverColor,
- Color? tableRowPressedColor,
- Color? tableHeaderColor,
- Color? tableHeaderTextColor,
- double? tableHeight,
- double? tableWidth,
- double? tableBorderRadius,
- FontWeight? tableHeaderTextWeight,
- Color? tableRowDividerColor,
- Color? tableIconColor,
- double? tableHeaderTextSize,
- double? tableHeadingRowHeight,
- double? tableRowHeight,
- Color? appBarColor,
- double? appBarHeight,
- Color? appBarTitleColor,
- double? appBarTitleSize,
- IconThemeData? appBarActionsIconTheme,
- double? appBarBottomOpacity,
- double? appBarElevation,
- Color? appBarForgroundColor,
- Color? appBarShadowColor,
- ShapeBorder? appBarShape,
- Color? appBarSurfaceTintColor,
- SystemUiOverlayStyle? appBarSystemOverlayStyle,
- double? buttonTextSize,
- FontWeight? buttonTextWeight,
- double? textStrokeWidth,
- Color? textStrokeColor,
- Color? buttonBackgroundColor,
- Color? buttonBorderColor,
- double? buttonBorderRadius,
- double? buttonBorderWidth,
- Color? buttonHoverBackgroundColor,
- Color? buttonHoverBorderColor,
- Color? buttonHoverTextColor,
- BoxFit? buttonTextFit,
- Color? buttonTextColor,
- Color? buttonDisabledBorderColor,
- Color? buttonDisabledTextColor,
- Color? buttonDisbaledBackgroundColor,
- Image? buttonBackgroundImage,
- Gradient? buttonBackgroundGradient,
- UpStyle? buttonBorderBottomStyle,
- UpStyle? buttonBorderLeftStyle,
- UpStyle? buttonBorderRightStyle,
- UpStyle? buttonBorderTopStyle,
- BorderStyle? buttonBorderStyle,
- double? buttonHeight,
- double? buttonWidth,
- Color? checkboxBackgroundColor,
- Color? checkboxBorderColor,
- double? checkboxBorderRadius,
- double? checkboxBorderWidth,
- Color? checkboxHoverBorderColor,
- Color? checkboxRippleColor,
- Color? checkboxLabelColor,
- double? checkboxLabelSize,
- Color? checkboxCheckedColor,
- Color? checkboxDisabledBackgroundColor,
- Color? checkboxDisabledLabelColor,
- Color? checkboxCheckedDisabledColor,
- Color? radioButtonBorderColor,
- Color? radioButtonDisabledBorderColor,
- Color? radioButtonDisabledFilledColor,
- double? radioButtonBorderRadius,
- double? radioButtonBorderWidth,
- Color? radioButtonFilledColor,
- Color? radioButtonHoverBorderColor,
- Color? radioButtonLabelColor,
- double? radioButtonLabelSize,
- Color? radioButtonRippleColor,
- Color? radioButtonDisabledLabelColor,
- Color? textfieldHintColor,
- double? textfieldHintSize,
- Color? textfieldBorderColor,
- Color? textfieldErrorBorderColor,
- Color? textfieldFocusedBorderColor,
- Color? textfieldLabelColor,
- Color? textfieldLabelFocusedColor,
- double? textfieldBorderRadius,
- double? textfieldBorderWidth,
- Color? textfieldCursorColor,
- double? textfieldLabelSize,
- double? textfieldFocusedLabelSize,
- Color? textfieldFilledColor,
- Color? textfieldFocusedFilledColor,
- Color? textfieldTextColor,
- double? dropdownBorderWidth,
- Color? dropdownMenuTextColor,
- Color? dropdownMenuColor,
- Color? dropdownTextColor,
- Color? dropdownBorderColor,
- double? dropdownBorderRadius,
- Color? dropdownErrorBorderColor,
- Color? dropdownFocusedBorderColor,
- Color? dropdownLabelColor,
- double? dropdownLabelSize,
- Color? dropdownFocusedFilledColor,
- Color? dropdownLabelFocusedColor,
- Color? dropdownFilledColor,
- Color? datePickerDialogBackgroundColor,
- Color? datePickerOnPrimaryColor,
- Color? datePickerOnSurfaceColor,
- Color? datePickerPrimaryColor,
- Color? datePickerSurfaceColor,
- Color? timePickerDialogBackgroundColor,
- Color? timePickerOnPrimaryColor,
- Color? timePickerOnSurfaceColor,
- Color? timePickerPrimaryColor,
- Color? timePickerSurfaceColor,
- Color? expansionTileBackgroundColor,
- Color? expansionTileCollapsedBackgroundColor,
- Color? expansionTileCollapsedIconColor,
- Color? expansionTileCollapsedTextColor,
- Color? expansionTileIconColor,
- Color? expansionTileTextColor,
- Color? expansionTileDividerColor,
- Color? listTileColor,
- Color? listTileFocusedColor,
- Color? listTileHoveredColor,
- Color? listTileIconColor,
- Color? listTileSelectedTextColor,
- Color? listTileSelectedIconColor,
- Color? listTileSelectedTileColor,
- Color? listTileTextColor,
- double? cardHeight,
- double? cardWidth,
- Color? cardHeaderColor,
- Gradient? cardHeaderGradient,
- Color? cardColor,
- Gradient? cardGradient,
- Gradient? cardBodyGradient,
- double? cardRadius,
- BoxShape? cardShape,
- Color? cardBodyColor,
- bool? cardBodyPadding = true,
- bool? cardHeaderPadding = true,
- Border? cardBorder,
- double? sideBarDefaultViewWidthPercentage,
- double? sideBarCompactViewWidth,
- double? sideBarMaximumScreenWidthForCompactView,
- Gradient? sideBarLeftSideGradient,
- Color? sideBarLeftSideColor,
- double? sideBarLeftSideRadius,
- bool? sideBarLeftSidePadding = true,
- double? sideBarRightSideWidthPercentage,
- Gradient? sideBarRightSideGradient,
- Color? sideBarRightSideColor,
- double? sideBarRightSideRadius,
- bool? sideBarRightSidePadding = true,
- double? scaffoldFixedDrawerWidthPercentage,
- double? scaffoldCompactDrawerWidth,
- double? scaffoldMaximumScreenWidthForCompactDrawer,
- Gradient? scaffoldFixedDrawerGradient,
- Color? scaffoldFixedDrawerColor,
- double? scaffoldFixedDrawerRadius,
- Gradient? scaffoldBodyGradient,
- Color? scaffoldBodyColor,
- double? scaffoldBodyRadius,
- double? appBarToggleIconPadding,
- double? appBarToggleIconSize,
- IconData? appBarToggleIcon,
- 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,
});