stream-chat-flutter icon indicating copy to clipboard operation
stream-chat-flutter copied to clipboard

Add named constructors to widgets

Open imtoori opened this issue 3 years ago • 0 comments

Most widgets today require some default setup for common functions - mainly filters and sorting. We should offer named constructors in widgets that offer default implementations of widgets that are used most often.

Think of it as shortcuts to common scenarios.

Setting “sensible defaults” for filters, for example. This will reduce boilerplate.

imtoori avatar Mar 09 '22 15:03 imtoori