Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget _body(MainModel model, BuildContext context) {
- return Center(
- child: Stack(
- children: <Widget>[
- ClipPath(
- child: Container(
- color: _color.withOpacity(0.8),
- ),
- clipper: GetClipper(),
- ),
- Column(
- children: <Widget>[
- _buildAvatar(model, _color),
- SizedBox(height: 90.0),
- Center(
- child: Row(
- mainAxisAlignment: MainAxisAlignment.center,
- children: <Widget>[
- BuildString(model.student.name, 20, FontStyle.normal,
- FontWeight.bold),
- SizedBox(width: 5),
- BuildString(model.student.surname, 20, FontStyle.normal,
- FontWeight.bold),
- SizedBox(width: 5),
- Text('${model.school.type + model.student.course}',
- style: TextStyle(
- fontSize: 20, fontWeight: FontWeight.bold)),
- ],
- ),
- ),
- SizedBox(height: 20.0),
- Center(child: BuildString(model.school.instituteName))
- ],
- ),
- ],
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement