natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

remove padding, should be managed by ThemeData #383

Open sgruhier opened 1 year ago

sgruhier commented 1 year ago

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),
        ),
      ),
    )