import 'package:flutter/material.dart'; import 'package:pin_code_fields/pin_code_fields.dart'; final otpPinTheme = PinTheme( inactiveFillColor: Colors.white, activeColor: Colors.white, activeFillColor: Colors.white, selectedFillColor: Colors.white, selectedColor: Colors.white, inactiveColor: Colors.grey, shape: PinCodeFieldShape.box, borderRadius: BorderRadius.circular(5), fieldHeight: 60, fieldWidth: 50, ); InputDecoration roboInputDecoration({String? placeholderHint}) { return InputDecoration( filled: true, fillColor: Colors.white, hintText: placeholderHint, hintStyle: TextStyle( color: Colors.grey, ), border: OutlineInputBorder( borderRadius: BorderRadius.all( Radius.circular(30.0), ), borderSide: BorderSide( width: 1.0, ), ), ); }