SHARE
TWEET

Untitled

a guest Jun 24th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Widget _registerButtonContainer() {
  2.     return Padding(
  3.       padding: EdgeInsets.fromLTRB(0.0, 0.0, 100.0, 0.0),
  4.       child: Material(  //Wrap with Material
  5.         shape: RoundedRectangleBorder(borderRadius:BorderRadius.circular(22.0) ),
  6.         elevation: 18.0,
  7.         color: Colors.deepOrange,
  8.         clipBehavior: Clip.antiAlias, // Add This
  9.         child: new MaterialButton(
  10.           minWidth: 200.0,
  11.           height: 50,
  12.           color: Colors.deepOrange,
  13.           child: new Text(Texts.REGISTER,
  14.               style: new TextStyle(fontWeight: FontWeight.bold, fontSize: 18.0, color: Colors.white)),
  15.           onPressed: _registerButtonAction,
  16.         ),
  17.       ),
  18.     );
  19.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top