RxInputDecorationData constructor

const RxInputDecorationData({
  1. TextStyle labelStyle = const TextStyle(color: Color(0xff333333), fontWeight: FontWeight.w400, fontFamily: 'Roboto', fontStyle: FontStyle.normal, fontSize: 14),
  2. TextStyle labelStyleError = const TextStyle(color: Color(0xffff6b2a), fontWeight: FontWeight.w400, fontFamily: 'Roboto', fontStyle: FontStyle.normal, fontSize: 14),
  3. Widget iconVisibility = const Icon(Icons.visibility),
  4. Widget iconVisibilityOff = const Icon(Icons.visibility_off),
})

Default constructor

Implementation

const RxInputDecorationData({
  this.labelStyle = const TextStyle(
    color: Color(0xff333333),
    fontWeight: FontWeight.w400,
    fontFamily: 'Roboto',
    fontStyle: FontStyle.normal,
    fontSize: 14,
  ),
  this.labelStyleError = const TextStyle(
    color: Color(0xffff6b2a),
    fontWeight: FontWeight.w400,
    fontFamily: 'Roboto',
    fontStyle: FontStyle.normal,
    fontSize: 14,
  ),
  this.iconVisibility = const Icon(Icons.visibility),
  this.iconVisibilityOff = const Icon(Icons.visibility_off),
});