Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @override
- Widget build(BuildContext context) {
- return new Container(
- decoration: new BoxDecoration(
- color: getCardColor(_classType),
- shape: BoxShape.rectangle,
- borderRadius: new BorderRadius.circular(8.0),
- boxShadow: <BoxShadow>[
- new BoxShadow(
- color: Colors.black12,
- blurRadius: 10.0,
- offset: new Offset(0.0, 10.0),
- )
- ]),
- margin: const EdgeInsets.only(
- top: 8.0, bottom: 8.0, left: 8.0, right: 8.0),
- child: new Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: <Widget>[
- new Container(
- margin: const EdgeInsets.only(
- top: 8.0, bottom: 8.0, left: 16.0, right: 8.0),
- child: new Row(
- children: <Widget>[
- new Column(
- children: <Widget>[
- new Text(getFirstTime(_classId), style: headerTextStyle),
- new Text(getSecondTime(_classId), style: headerTextStyle),
- ],
- ),
- new Container(width: 24.0),
- new Container(
- width: 185.0,
- child: new Text(_title, style: headerTextStyle),
- ),
- ],
- ),
- ),
- ],
- ));
- }
Add Comment
Please, Sign In to add comment