inputDecorationDD_searchBox method

InputDecoration inputDecorationDD_searchBox({
  1. Color? colorBorderANDlabelForSearchBox,
})
inherited

Implementation

InputDecoration inputDecorationDD_searchBox({Color? colorBorderANDlabelForSearchBox}) {
  var x = colorBorderANDlabelForSearchBox ?? (widget.background_Color == null ? XColors.foregroundLight : (ThemeData.estimateBrightnessForColor(alphaBlend(widget.background_Color!(widget.itemSelected)!)) == Brightness.dark ? XColors.foregroundDark : XColors.foregroundLight));
  return InputDecoration(
    hintText: "cerca...",
    labelStyle: XStyles.xStyTextForLabel(textColor: x),
    hintStyle: XStyles.xStyTextForLabel(textColor: x),
    border: inputDecorationForDD(x),
    disabledBorder: inputDecorationForDD(x),
    enabledBorder: inputDecorationForDD(x),
    focusedBorder: inputDecorationForDD(x),
  );
}