DefaultDateSeparator constructor

const DefaultDateSeparator({
  1. required DateTime date,
  2. MessageListOptions messageListOptions = const MessageListOptions(),
  3. EdgeInsets padding = const EdgeInsets.symmetric(vertical: 20),
  4. TextStyle textStyle = const TextStyle(color: Colors.grey),
  5. Key? key,
})

Implementation

const DefaultDateSeparator({
  required this.date,
  this.messageListOptions = const MessageListOptions(),
  this.padding = const EdgeInsets.symmetric(vertical: 20),
  this.textStyle = const TextStyle(color: Colors.grey),
  Key? key,
}) : super(key: key);