Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- child: Stack(
- //alignment: Alignment.center,
- children: <Widget>[
- Container(
- alignment: Alignment.center,
- width: MediaQuery.of(mContext).size.width / 1.7,
- decoration: ShapeDecoration(
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(30.0)),
- gradient: LinearGradient(
- colors: gradient,
- begin: Alignment.topLeft,
- end: Alignment.bottomRight),
- ),
- child: Text(title,
- style: TextStyle(
- color: Colors.white,
- fontSize: 18,
- fontWeight: FontWeight.w500)),
- padding: EdgeInsets.only(top: 16, bottom: 16),
- ),
- Visibility(
- visible: isEndIconVisible,
- child: Padding(
- padding: EdgeInsets.only(right: 10),
- child: ImageIcon(
- AssetImage("assets/ic_forward.png"),
- size: 30,
- color: Colors.white,
- )),
- ),
- ],
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement