A ToggleButtons widget is arranged in a row without spacing and rounded corners can only be applied to the first and last buttons.
How can I add spacing between the buttons with rounded corners? Wrapping an InkWell widget in a GridView widget does the trick! Let’s create a row of 3 toggle buttons with spacing and rounded corners:
Software Developer at BeyondLabs Limited