master #81
@ -55,19 +55,19 @@ class TextInputStyle extends ThemeStyle<TextInputStyle> {
 | 
			
		||||
    if (a == null) {
 | 
			
		||||
      return b.copyWith();
 | 
			
		||||
    }
 | 
			
		||||
    return b.copyWith(
 | 
			
		||||
      labelStyle: a.labelStyle,
 | 
			
		||||
      hintStyle: a.hintStyle,
 | 
			
		||||
      backgroundColors: a.backgroundColors,
 | 
			
		||||
      borderColors: a.borderColors,
 | 
			
		||||
      boxShadow: a.boxShadow,
 | 
			
		||||
      radius: a.radius,
 | 
			
		||||
      inputStyle: a.inputStyle,
 | 
			
		||||
      iconColor: a.iconColor,
 | 
			
		||||
      prefixStyle: a.prefixStyle,
 | 
			
		||||
      prefixIconColor: a.prefixIconColor,
 | 
			
		||||
      suffixIconColor: a.suffixIconColor,
 | 
			
		||||
      suffixStyle: a.suffixStyle,
 | 
			
		||||
    return a.copyWith(
 | 
			
		||||
      labelStyle: b.labelStyle,
 | 
			
		||||
      hintStyle: b.hintStyle,
 | 
			
		||||
      backgroundColors: b.backgroundColors,
 | 
			
		||||
      borderColors: b.borderColors,
 | 
			
		||||
      boxShadow: b.boxShadow,
 | 
			
		||||
      radius: b.radius,
 | 
			
		||||
      inputStyle: b.inputStyle,
 | 
			
		||||
      iconColor: b.iconColor,
 | 
			
		||||
      prefixStyle: b.prefixStyle,
 | 
			
		||||
      prefixIconColor: b.prefixIconColor,
 | 
			
		||||
      suffixIconColor: b.suffixIconColor,
 | 
			
		||||
      suffixStyle: b.suffixStyle,
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -208,9 +208,7 @@ class TextInputScreen extends CubitScreen<TextInputCubit, TextInputState> {
 | 
			
		||||
            textInputStyle = normalStyle;
 | 
			
		||||
            break;
 | 
			
		||||
          case ControlState.hovered:
 | 
			
		||||
            break;
 | 
			
		||||
          case ControlState.tapped:
 | 
			
		||||
            break;
 | 
			
		||||
          case null:
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
@ -221,11 +219,8 @@ class TextInputScreen extends CubitScreen<TextInputCubit, TextInputState> {
 | 
			
		||||
            style = errorStyle;
 | 
			
		||||
            break;
 | 
			
		||||
          case StatusState.initial:
 | 
			
		||||
            break;
 | 
			
		||||
          case StatusState.success:
 | 
			
		||||
            break;
 | 
			
		||||
          case StatusState.loading:
 | 
			
		||||
            break;
 | 
			
		||||
          case null:
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -81,11 +81,8 @@ class TextInputThemeResolver extends ThemeResolver<TextInputStyle,
 | 
			
		||||
        labelStyle = labelStyle?.copyWith(color: context.colorScheme.primary);
 | 
			
		||||
        break;
 | 
			
		||||
      case ControlState.hovered:
 | 
			
		||||
        break;
 | 
			
		||||
      case ControlState.tapped:
 | 
			
		||||
        break;
 | 
			
		||||
      case ControlState.normal:
 | 
			
		||||
        break;
 | 
			
		||||
      case null:
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
@ -97,11 +94,8 @@ class TextInputThemeResolver extends ThemeResolver<TextInputStyle,
 | 
			
		||||
        borderColors = context.colorScheme.error;
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.initial:
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.success:
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.loading:
 | 
			
		||||
        break;
 | 
			
		||||
      case null:
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
@ -139,9 +133,7 @@ class TextInputThemeResolver extends ThemeResolver<TextInputStyle,
 | 
			
		||||
        textInputStyle = themeExtension.normalStyle;
 | 
			
		||||
        break;
 | 
			
		||||
      case ControlState.hovered:
 | 
			
		||||
        break;
 | 
			
		||||
      case ControlState.tapped:
 | 
			
		||||
        break;
 | 
			
		||||
      case null:
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
@ -152,11 +144,8 @@ class TextInputThemeResolver extends ThemeResolver<TextInputStyle,
 | 
			
		||||
        style = themeExtension.errorStyle;
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.initial:
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.success:
 | 
			
		||||
        break;
 | 
			
		||||
      case StatusState.loading:
 | 
			
		||||
        break;
 | 
			
		||||
      case null:
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user