Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.26 KB | None | 0 0
  1. Widget _body(MainModel model, BuildContext context) {
  2.     return Center(
  3.       child: Stack(
  4.         children: <Widget>[
  5.           ClipPath(
  6.             child: Container(
  7.               color: _color.withOpacity(0.8),
  8.             ),
  9.             clipper: GetClipper(),
  10.           ),
  11.           Column(
  12.             children: <Widget>[
  13.               _buildAvatar(model, _color),
  14.               SizedBox(height: 90.0),
  15.               Center(
  16.                 child: Row(
  17.                   mainAxisAlignment: MainAxisAlignment.center,
  18.                   children: <Widget>[
  19.                     BuildString(model.student.name, 20, FontStyle.normal,
  20.                         FontWeight.bold),
  21.                     SizedBox(width: 5),
  22.                     BuildString(model.student.surname, 20, FontStyle.normal,
  23.                         FontWeight.bold),
  24.                     SizedBox(width: 5),
  25.                     Text('${model.school.type + model.student.course}',
  26.                         style: TextStyle(
  27.                             fontSize: 20, fontWeight: FontWeight.bold)),
  28.                   ],
  29.                 ),
  30.               ),
  31.               SizedBox(height: 20.0),
  32.               Center(child: BuildString(model.school.instituteName))
  33.             ],
  34.           ),
  35.         ],
  36.       ),
  37.     );
  38.   }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement