Securrency-OSS/mirai

feat: Update MiraiInputDecoration with more fields

Closed this issue · 0 comments

Description

Here are some more fields we should provide in the MiraiInputDecoration

  1. label
  2. floatingLabelStyle
  3. helperMaxLines
  4. hintTextDirection
  5. hintMaxLines
  6. errorMaxLines
  7. floatingLabelBehavior
  8. floatingLabelAlignment
  9. isCollapsed
  10. isDense
  11. contentPadding
  12. prefixIcon
  13. prefixIconConstraints
  14. prefix
  15. prefixIconColor
  16. suffix
  17. suffixIconColor
  18. suffixIconConstraints
  19. counter
  20. counterText
  21. counterStyle
  22. errorBorder
  23. focusedBorder
  24. focusedErrorBorder
  25. disabledBorder
  26. enabledBorder
  27. border
  28. enabled
  29. semanticCounterText
  30. alignLabelWithHint
  31. constraints

Also, lets make the order align with Flutter InputDecoration

Additional Context

Also, check: https://github.com/Securrency-OSS/mirai/blob/main/packages/mirai/lib/src/parsers/mirai_input_decoration_theme/mirai_input_decoration_theme.dart