Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SafeArea(
- child: Column(
- children: <Widget>[
- // SizedBox(height: 30,),
- Row(
- mainAxisSize: MainAxisSize.max,
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: <Widget>[
- Hero(
- tag: 'topBarBtn',
- child: Card(
- elevation: 10,
- shape: kBackButtonShape,
- child: MaterialButton(
- height: 50,
- minWidth: 50,
- elevation: 10,
- shape: kBackButtonShape,
- onPressed: onPressed,
- child: child,
- ),
- ),
- ),
- // SizedBox(
- // width: 50,
- // ),
- Hero(
- tag: 'title',
- transitionOnUserGestures: true,
- child: Card(
- elevation: 10,
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.only(
- bottomLeft: Radius.circular(30),
- ),
- ),
- child: InkWell(
- onTap: onTitleTapped,
- child: Container(
- width: MediaQuery.of(context).size.width / 1.5,
- height: 50,
- child: Align(
- alignment: Alignment.centerLeft,
- child: Padding(
- padding: const EdgeInsets.only(left: 30),
- child: Text(
- title,
- style: TextStyle(
- fontWeight: FontWeight.bold,
- fontSize: 25,
- // color: Colors.black54,
- ),
- ),
- ),
- ),
- ),
- ),
- ),
- )
- ],
- ),
- ],
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement