LoginButtonThemeData.roundedRectangle constructor

LoginButtonThemeData.roundedRectangle({
  1. double elevation = 0,
  2. Color borderColor = LoginColors.lightGreyColor,
})

Implementation

factory LoginButtonThemeData.roundedRectangle({
  double elevation = 0,
  Color borderColor = LoginColors.lightGreyColor,
}) {
  return LoginButtonThemeData(
    elevation: elevation,
    borderShape: RoundedRectangleBorder(
      side: BorderSide(
        color: borderColor,
        style: BorderStyle.solid,
        width: 1.0,
      ),
      borderRadius: BorderRadius.circular(50.0),
    ),
  );
}