Backappx-Package

BackAppX-Package is a Flutter package for the BackAppX platform.

GitHub Pub Version

Getting started

This package is meant to be used in conjunction with the BackAppX platform.
To get started, you will need to create a BackAppX account and a project.
You can create an account here.
You can create a project here.
Once you have created a project, you will need to add the package to your pubspec.yaml file.
You can do this by adding the following line to your pubspec.yaml file:

dependencies:
  backappx: 1.1.4

Once you have added the package to your pubspec.yaml file, you will need to import the package into your project.
You can do this by adding the following line to your main.dart file:

import 'package:backappx/backappx.dart';

Once you have imported the package into your project, you will need to initialize the package.
You can do this by adding the following line to your main.dart file:

final backappx = BackAppX();

for more information on how to use the package, please refer to the documentation.

Features

The package provides a simple way to integrate the BackAppX platform into your Flutter app. It provides the following classes:

• BackAppX Class contains the following features:

  • User Authentication
  • Product Management
  • Category Management
  • Order Management
  • Payment Management
  • File Storage Management
  • Project Management

Installation

Add the following dependency to your pubspec.yaml:

dependencies:
  backappx: 1.1.4

Requirements

The package requires the following dependencies:
• Flutter 2.0.0 or higher
• Dart 2.12.0 or higher
• BackAppX account
• BackAppX project
• dart:io
• dart:convert
• http: ^0.13.3
• dart:async
• path_provider: ^2.0.2

Usage

To use this package, add backappx as a dependency in your pubspec.yaml file.


import 'package:backappx/backappx.dart';

Example

final email = emailController.text;
final password = passwordController.text;

final response = await backappx.login(email, password);
setState(() {
    loginResponse = response;
});

License

MIT License

Copyright (c) 2023 BackAppX

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Additional information

For help getting started with Flutter, view our online documentation.

Libraries

backappx