Skip to content

Conversation

@sgruhier
Copy link

remove hardcoded padding to be able to set it up on ThemeData
example:

    ThemeData(
      buttonTheme: ButtonThemeData(
        padding: const EdgeInsets.only(left: 10, top: 20, bottom: 20),
        shape: RoundedRectangleBorder(
          side: const BorderSide(color: Colors.grey),
          borderRadius: BorderRadius.circular(20),
        ),
      ),
    )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant