ChatViewAppBar class

Inheritance

Constructors

ChatViewAppBar({Key? key, required String chatTitle, Color? backGroundColor, String? userStatus, String? profilePicture, TextStyle? chatTitleTextStyle, TextStyle? userStatusTextStyle, Color? backArrowColor, List<Widget>? actions, double? elevation, VoidCallBack? onBackPress, EdgeInsets? padding, Widget? leading, bool showLeading = true, String defaultAvatarImage = profileImage, AssetImageErrorBuilder? assetImageErrorBuilder, NetworkImageErrorBuilder? networkImageErrorBuilder, ImageType imageType = ImageType.network, NetworkImageProgressIndicatorBuilder? networkImageProgressIndicatorBuilder})
const

Properties

actions → List<Widget>?
Allow user to add actions widget in right side of appbar.
final
assetImageErrorBuilder → AssetImageErrorBuilder?
Error builder to build error widget for asset image
final
backArrowColor → Color?
Allow user to change back arrow colour.
final
backGroundColor → Color?
Allow user to change colour of appbar.
final
chatTitle → String
Allow user to change title of appbar.
final
chatTitleTextStyle → TextStyle?
Allow user to change text style of chat title.
final
defaultAvatarImage → String
Field to set default image if network url for profile image not provided
final
elevation → double?
Allow user to change elevation of appbar.
final
hashCode → int
The hash code for this object.
no setterinherited
imageType → ImageType
Field to define image type network, asset or base64
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading → Widget?
Allow user to change leading icon of appbar.
final
networkImageErrorBuilder → NetworkImageErrorBuilder?
Error builder to build error widget for network image
final
networkImageProgressIndicatorBuilder → NetworkImageProgressIndicatorBuilder?
Progress indicator builder for network image
final
onBackPress → VoidCallBack?
Provides callback when user tap on back arrow.
final
padding → EdgeInsets?
Allow user to change padding in appbar.
final
profilePicture → String?
Allow user to change profile picture in appbar.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showLeading → bool
Allow user to turn on/off leading icon.
final
userStatus → String?
Allow user to change whether user is available or offline.
final
userStatusTextStyle → TextStyle?
Allow user to change text style of user status.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
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.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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, int wrapWidth = 65}) → 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.
inherited