This package creates an all encompassing implementation for handling time availability use cases. By Default this package runs with a local data implementation that does not persist data. You can add your own implementation by implementing the AvailabilityDataInterface.
All configuration of the userstory is done through the AvailabilityOptions class.
Figma Design that defines this component (only accessible for Iconica developers): TO BE CREATED Figma clickable prototype that demonstrates this component (only accessible for Iconica developers): TO BE CREATED
To use this package, add flutter_availability as a dependency in your pubspec.yaml file:
flutter_availability:
git:
url: https://github.com/Iconica-Development/flutter_availability
path: packages/flutter_availability
ref: 1.0.0
You can start the userstory by adding the availability widget like this to your widget tree:
AvailabilityUserStory(
userId: "userIdOfTheUser",
options: AvailabilityOptions(),
),
There is also a function for pushing the availability screen to the navigation stack:
openAvailabilitiesForUser(context, "userIdOfTheUser", AvailabilityOptions());
Please file any issues, bugs or feature request as an issue on our GitHub page. Commercial support is available if you need help with integration with your app or services. You can contact us at [email protected].
text If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.
This flutter_availability for Flutter is developed by Iconica. You can contact us at [email protected]