Default widgets topic

Default widgets

Widgets you can use if you only want to override few params but don't want to rewrite the entire widget


defaultPersePatterns List<MatchText> Default widgets
{@category Default widgets}
getter/setter pair


defaultInputDecoration({String hintText = 'Write a message...', TextStyle hintStyle = const TextStyle(color: Colors.grey), Color? fillColor}) InputDecoration Default widgets
defaultMessageDecoration({required Color color, required double borderTopLeft, required double borderTopRight, required double borderBottomLeft, required double borderBottomRight}) BoxDecoration Default widgets
defaultSendButton({required Color color, IconData icon = Icons.send, EdgeInsets? padding}) Widget Function(Function send) Default widgets