ContactsScreen class

The screen which is exposed from the library for displaying, adding, selecting and deleting Contacts.

Inheritance

Constructors

ContactsScreen({Key? key, ValueChanged<List<AtContact?>>? selectedList, @Deprecated('context is no longer required and will be removed in upcoming version') BuildContext? context, bool asSelectionScreen = false, bool asSingleSelectionScreen = false, Function? saveGroup, Function? onSendIconPressed, List<AtContact>? selectedContactsHistory})
const

Properties

asSelectionScreen → bool
toggles between the selection type screen to display the contacts
final
asSingleSelectionScreen → bool
final
context → BuildContext?
takes in @param context to get the app context
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onSendIconPressed → Function?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveGroup → Function?
final
selectedContactsHistory → List<AtContact>?
to show already selected contacts.
final
selectedList → ValueChanged<List<AtContact?>>?
a callback function to return back the selected list from the screen to the app
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _ContactsScreenState
Creates the mutable state for this widget at a given location in the tree.
override
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