Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.40 KB | None | 0 0
  1. Card(
  2.                   elevation: 3,
  3.                   shape: RoundedRectangleBorder(
  4.                     borderRadius: BorderRadius.all(
  5.                       Radius.circular(15),
  6.                     ),
  7.                   ),
  8.                   child: ListTile(
  9.                     leading: _buildLeading(model, index,
  10.                         model.calendarEvents[date][index].subject),
  11.                     //trailing: _buildDeleteEvent(model, date, index),
  12.                     title: Container(
  13.                       child: Row(
  14.                         children: <Widget>[
  15.                           Text(
  16.                             '${model.calendarEvents[date][index].type} di ',
  17.                             overflow: TextOverflow.ellipsis,
  18.                           ),
  19.  
  20.                           // BuildSubject(
  21.                           //     model.calendarEvents[date][index].subject),
  22.                         ],
  23.                       ),
  24.                     ),
  25.                     subtitle: Row(
  26.                       children: <Widget>[
  27.                         Text(
  28.                           'Aggiunto da ',
  29.                           style: TextStyle(fontSize: 14),
  30.                         ),
  31.                         BuildString(
  32.                             model.calendarEvents[date][index].userName, 14),
  33.                       ],
  34.                     ),
  35.                   ),
  36.                 ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement