BlueshiftInbox constructor

const BlueshiftInbox({
  1. Key? key,
  2. TextStyle? titleTextStyle,
  3. TextStyle? detailsTextStyle,
  4. TextStyle? dateTextStyle,
  5. Color unreadIndicatorColor = const Color(0xFF00C1C1),
  6. Color dividerColor = const Color(0xFF9A9A9A),
  7. Widget? placeholder = const SizedBox.shrink(),
  8. Widget? loadingIndicator = const CircularProgressIndicator(),
  9. Widget inboxItem(
    1. BlueshiftInboxMessage
    )?,
  10. String dateFormatter(
    1. DateTime
    )?,
  11. int sortMessages(
    1. BlueshiftInboxMessage,
    2. BlueshiftInboxMessage
    )?,
})

Implementation

const BlueshiftInbox({
  Key? key,
  this.titleTextStyle,
  this.detailsTextStyle,
  this.dateTextStyle,
  this.unreadIndicatorColor = const Color(0xFF00C1C1),
  this.dividerColor = const Color(0xFF9A9A9A),
  this.placeholder = const SizedBox.shrink(),
  this.loadingIndicator = const CircularProgressIndicator(),
  this.inboxItem,
  this.dateFormatter,
  this.sortMessages,
}) : super(key: key);