at_contacts_flutter library
Classes
- BlockedScreen
- Screen exposed to see blocked contacts and unblock them
- ContactListTile
- ContactsScreen
- The screen which is exposed from the library for displaying, adding, selecting and deleting Contacts.
- CustomAppBar
- This is a custom app bar.
- CustomButton
- A custom button to use the theme colors and common app functionalities.
- CustomInputField
- This is a custom input field to have common functionalities of the app
- DesktopContactsScreen
- SizeConfig
- A class defined to get dimensions for the screen size displayed, using the proportion of the designed screen size.
Extensions
- SizeUtils on num
- A shorthand usage of the functions defined in SizeConfig.
Functions
-
addContact(
String atsign, {String? nickName}) → Future< bool> -
Adds
atsign
in contact list. IfnickName
is not null , it wll be set as nick name of theatsign
. -
blockOrUnblockAtContact(
AtContact atContact, bool blockAction) → Future< bool> -
blocks/unblocks
atContact
based on booleanblockAction
ifblockAction
istrue
,atContact
will be blocked. -
checkForCachedContactDetail(
String atSign) → AtContact -
deleteContact(
String atsign) → Future< bool> -
deletes the given
atsign
-
disposeContactsControllers(
) → void - Function call from app to dispose stream controllers used in the package
-
fetchContactList(
) → Future< List< AtContact> ?> -
gives list of
AtContact
-
getAtSignDetails(
String atSign) → Future< AtContact> - Function to fetch the contact details of an atsign
-
getCachedContactDetail(
String atsign) → AtContact? - Function to fetch the contact details of an atsign from cached list
-
initializeContactsService(
{dynamic rootDomain = 'root.atsign.org', dynamic rootPort = 64, bool fetchContacts = true}) → Future< void> - Function to initialise contacts Service
-
markFavContact(
AtContact atContact) → Future< bool> -
marks
atContact
as favourite.