value property
InputDecoration
get
value
Implementation
InputDecoration get value => InputDecoration(
icon: icon,
label: label,
labelText: labelText,
labelStyle: labelStyle?.value,
floatingLabelStyle: floatingLabelStyle?.value,
helperText: helperText,
helperStyle: helperStyle?.value,
helperMaxLines: helperMaxLines,
hintText: hintText,
hintStyle: hintStyle?.value,
hintTextDirection: hintTextDirection,
hintMaxLines: hintMaxLines,
errorText: errorText,
errorStyle: errorStyle?.value,
errorMaxLines: errorMaxLines,
floatingLabelBehavior: floatingLabelBehavior,
isDense: isDense,
contentPadding: contentPadding?.value,
isCollapsed: isCollapsed ?? false,
prefixIcon: prefixIcon,
prefixIconConstraints: prefixIconConstraints?.value,
prefix: prefix,
prefixText: prefixText,
prefixStyle: prefixStyle?.value,
suffixIcon: suffixIcon,
suffix: suffix,
suffixText: suffixText,
suffixStyle: suffixStyle?.value,
suffixIconConstraints: suffixIconConstraints?.value,
counterText: counterText,
counter: counter,
counterStyle: counterStyle?.value,
filled: filled,
fillColor: fillColor,
focusColor: focusColor,
hoverColor: hoverColor,
errorBorder: errorBorder != null
? (errorBorder!.type == NikuInputBorderType.Outlined
? errorBorder!.outlined
: errorBorder!.value)
: null,
focusedBorder: focusedBorder != null
? (focusedBorder!.type == NikuInputBorderType.Outlined
? focusedBorder!.outlined
: focusedBorder!.value)
: null,
focusedErrorBorder: focusedErrorBorder != null
? (focusedErrorBorder!.type == NikuInputBorderType.Outlined
? focusedErrorBorder!.outlined
: focusedErrorBorder!.value)
: null,
disabledBorder: disabledBorder != null
? (disabledBorder!.type == NikuInputBorderType.Outlined
? disabledBorder!.outlined
: disabledBorder!.value)
: null,
enabledBorder: enabledBorder != null
? (enabledBorder!.type == NikuInputBorderType.Outlined
? enabledBorder!.outlined
: enabledBorder!.value)
: null,
border: baseBorder != null
? (baseBorder!.type == NikuInputBorderType.Outlined
? baseBorder!.outlined
: baseBorder!.value)
: null,
enabled: enabled ?? true,
semanticCounterText: semanticCounterText,
alignLabelWithHint: alignLabelWithHint,
constraints: constraints?.value,
);