Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget _registerButtonContainer() {
- return Padding(
- padding: EdgeInsets.fromLTRB(0.0, 0.0, 100.0, 0.0),
- child: Material( //Wrap with Material
- shape: RoundedRectangleBorder(borderRadius:BorderRadius.circular(22.0) ),
- elevation: 18.0,
- color: Colors.deepOrange,
- clipBehavior: Clip.antiAlias, // Add This
- child: new MaterialButton(
- minWidth: 200.0,
- height: 50,
- color: Colors.deepOrange,
- child: new Text(Texts.REGISTER,
- style: new TextStyle(fontWeight: FontWeight.bold, fontSize: 18.0, color: Colors.white)),
- onPressed: _registerButtonAction,
- ),
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement