Skip to content

v2.0.1

Compare
Choose a tag to compare
@PramodJoshi PramodJoshi released this 15 Apr 21:38
· 27 commits to master since this release
  • Added vertical toggle switch option (PR 51):
    • parameter:
      • isVertical (type bool - default false)
  • Added active borders option (Partial implementation from PR 53):
    • parameter:
      • activeBorders (optional, type List)
    • list with only one Border value will apply that Border to all the active switches
    • different Border values can be provided for different switches
  • Added divider margin option:
    • parameter:
      • dividerMargin (optional, type double - default 8.0)
  • Made totalSwitches parameter optional.
  • Added new changes to customTextStyles:
    • list with only one TextStyle value will apply that TextStyle to all the active switches
  • Added new changes to customWidths:
    • customWidths can now reflect widths greater than device width
    • must use horizontal scroll view to prevent overflow