MeetMeMessageBar - AnnaGurik/MeetMe GitHub Wiki

MeetMeMessageBar class Null safety

Normal Message bar with more actions

following attributes can be modified BOOLEANS

replying is additional reply widget top of the message bar STRINGS

replyingTo is a string to tag the replying message WIDGETS

actions are the additional leading action buttons like camera and file select COLORS

replyWidgetColor is reply widget color replyIconColor is the reply icon color on the left side of reply widget replyCloseColor is the close icon color on the right side of the reply widget messageBarColor is the color of the message bar sendButtonColor is the color of the send button METHODS

onTextChanged is function which triggers after text every text change onSend is send button action onTapCloseReply is close button action of the close button on the reply widget usually change replying attribute to false

Inheritance

[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) MeetMeMessageBar 

Constructors

MeetMeMessageBar({bool replying = false, String replyingTo = "", List<Widget> actions = const [], Color replyWidgetColor = const Color(0xffF4F4F5), Color replyIconColor = Colors.blue, Color replyCloseColor = Colors.black12, Color messageBarColor = const Color(0xffF4F4F5), Color sendButtonColor = Colors.blue, void onTextChanged(String)?, void onSend(String)?, void onTapCloseReply()?}) MeetMeMessageBar constructor

Properties

actions → List<Widget> final hashCodeint The hash code for this object. @nonVirtual, read-only, inherited keyKey? Controls how one widget replaces another widget in the tree. final, inherited messageBarColor → Color final onSend → (void Function?(String)?) final onTapCloseReply → (void Function?()?) final onTextChanged → (void Function?(String)?) final replyCloseColorColor final replyIconColor → Color final replying → bool final replyingTo → String final replyWidgetColor → Color final runtimeTypeType A representation of the runtime type of the object. read-only, inherited sendButtonColor → Color final

Methods

build(BuildContext context) → Widget MeetMeMessageBar builder method override createElement() → StatelessElement Creates a StatelessElement to manage this widget's location in the tree. inherited debugDescribeChildren() → List<DiagnosticsNode> Returns a list of DiagnosticsNode objects describing this node's children. @protected, inherited debugFillProperties(DiagnosticPropertiesBuilder properties) → void Add additional properties associated with the node. inherited noSuchMethod(Invocation invocation) → dynamic Invoked when a non-existent method or property is accessed. inherited toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. inherited toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String A string representation of this object. inherited toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String Returns a string representation of this node and its descendants. inherited toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String Returns a one-line detailed description of the object. inherited toStringShort() → String A short, textual description of this widget. inherited

Operators

operator ==(Object other) → bool The equality operator. @nonVirtual, inherited