decorateInput method

Widget decorateInput(
  1. Widget field
)

Extra chrome a style paints around an input (inset shadow, frost, clay drop…). Applied to the single-field otpField and to every digit box of otpBox, so both looks stay identical. Not used for the underline input style, which is chrome-less in every design.

Implementation

Widget decorateInput(Widget field) => field;