Guest User

Untitled

a guest
Apr 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. @override
  2. Widget build(BuildContext context) {
  3. return new Container(
  4. decoration: new BoxDecoration(
  5. color: getCardColor(_classType),
  6. shape: BoxShape.rectangle,
  7. borderRadius: new BorderRadius.circular(8.0),
  8. boxShadow: <BoxShadow>[
  9. new BoxShadow(
  10. color: Colors.black12,
  11. blurRadius: 10.0,
  12. offset: new Offset(0.0, 10.0),
  13. )
  14. ]),
  15. margin: const EdgeInsets.only(
  16. top: 8.0, bottom: 8.0, left: 8.0, right: 8.0),
  17. child: new Column(
  18. crossAxisAlignment: CrossAxisAlignment.start,
  19. children: <Widget>[
  20. new Container(
  21. margin: const EdgeInsets.only(
  22. top: 8.0, bottom: 8.0, left: 16.0, right: 8.0),
  23. child: new Row(
  24. children: <Widget>[
  25. new Column(
  26. children: <Widget>[
  27. new Text(getFirstTime(_classId), style: headerTextStyle),
  28. new Text(getSecondTime(_classId), style: headerTextStyle),
  29. ],
  30. ),
  31. new Container(width: 24.0),
  32. new Container(
  33. width: 185.0,
  34. child: new Text(_title, style: headerTextStyle),
  35. ),
  36. ],
  37. ),
  38. ),
  39. ],
  40. ));
  41. }
Add Comment
Please, Sign In to add comment