Now for some internet optimism.
at_contacts_group_flutter
A flutter plugin to provide group functionality for atsign contacts. Helps to manage contacts.
Sample usage
It is expected that the app will first create an AtClientService instance and authenticate an atsign.
The groups service needs to be initialised with the atClient from the AtClientService, current atsign and the root server.
initializeGroupService(
clientSdkService.atClientServiceInstance.atClient, currentAtSign,
rootDomain: MixedConstants.ROOT_DOMAIN);
Navigating to the groups list is done simply by using:
Navigator.of(context).push(MaterialPageRoute(
builder: (BuildContext context) => GroupList(),
));
Libraries
- at_contacts_group_flutter
- models/group_contacts_model
- screens/edit/group_edit
- screens/empty_group/empty_group
- screens/group_contact_view/group_contact_view
- screens/group_view/group_view
- screens/list/group_list
- screens/new_group/new_group
- services/group_service
- services/image_picker
- utils/colors
- utils/images
- utils/init_group_service
- utils/text_constants
- utils/text_styles
- widgets/add_contacts_group_dialog
- A popup to ask the
AtSignwhich is to be added - widgets/add_single_contact_group
- widgets/bottom_sheet
- widgets/circular_contacts
- widgets/confirmation-dialog
- widgets/contacts_initials
- widgets/contacts_selction_bottom_sheet
- A bottom sheet widget to diaplay the number of contacts selected from
contact list and what to do of that list on press of
Donetakes in @paramonPressedwhich defines what to be executed on press ofDone@paramselectedListis a ValueChanged function which return the selected contacts to be used outside of package. - widgets/custom_circle_avatar
- widgets/custom_input_field
- widgets/custom_list_tile
- A custom list tile to display the contacts
takes in a function @param
onTapto define what happens on tap of the tile @paramonTrailingPressesto set the behaviour for trailing icon @paramasSelectionTileto toggle whether the tile is selectable to select contacts @paramcontactfor details of the contact @paramcontactServiceto get an instance ofAtContactsImpl - widgets/custom_toast
- widgets/error_screen
- widgets/horizontal_circular_list
- widgets/person_horizontal_tile
- widgets/person_vertical_tile