SHARE
TWEET

Untitled

a guest Aug 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. child: Stack(
  2.           //alignment: Alignment.center,
  3.  
  4.           children: <Widget>[
  5.             Container(
  6.               alignment: Alignment.center,
  7.               width: MediaQuery.of(mContext).size.width / 1.7,
  8.               decoration: ShapeDecoration(
  9.                 shape: RoundedRectangleBorder(
  10.                     borderRadius: BorderRadius.circular(30.0)),
  11.                 gradient: LinearGradient(
  12.                     colors: gradient,
  13.                     begin: Alignment.topLeft,
  14.                     end: Alignment.bottomRight),
  15.               ),
  16.               child: Text(title,
  17.                   style: TextStyle(
  18.                       color: Colors.white,
  19.                       fontSize: 18,
  20.                       fontWeight: FontWeight.w500)),
  21.               padding: EdgeInsets.only(top: 16, bottom: 16),
  22.             ),
  23.  
  24.  
  25.  
  26.             Visibility(
  27.  
  28.               visible: isEndIconVisible,
  29.               child: Padding(
  30.                   padding: EdgeInsets.only(right: 10),
  31.                   child: ImageIcon(
  32.                     AssetImage("assets/ic_forward.png"),
  33.                     size: 30,
  34.                     color: Colors.white,
  35.                   )),
  36.             ),
  37.           ],
  38.         ),
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