getShape method
The shape of the button
's Material.
Returns the button's MaterialButton.shape if it is non-null, otherwise shape is returned.
Implementation
ShapeBorder getShape(MaterialButton button) {
return button.shape ?? shape;
}
The shape of the button
's Material.
Returns the button's MaterialButton.shape if it is non-null, otherwise shape is returned.
ShapeBorder getShape(MaterialButton button) {
return button.shape ?? shape;
}