showAvatar property

bool showAvatar
final

Shows a circle that represents a user.

Typically used with a user's profile image, or, in the absence of such an image, the user's initials. A given user's initials should always be paired with the same color, for consistency.

See also:

@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.timelineMonth,
       dataSource: _getCalendarDataSource(),
       resourceViewSettings: ResourceViewSettings(
           visibleResourceCount: 4,
           size: 150,
           showAvatar: false,
           displayNameTextStyle: TextStyle(
               fontStyle: FontStyle.italic,
               fontSize: 15,
               fontWeight: FontWeight.w400)),
     ),
   );
 }
}

Implementation

final bool showAvatar;