rave_flutter 0.0.1-alpha.1

Flutterwave's Rave Plugin for Flutter #

pub package

A Flutter plugin for making payments via Flutterwave's Rave Payment Gateway.

Information #

Though the UI is a somewhat ready, payment is not happening yet. Feel very free to poke around. Also, suggestions are welcome.

0.0.1-alpha.1 #

  • Initial release. Payment is not happening yet but the UI is somewhat ready.


rave_flutter_example #

Demonstrates how to use the rave_flutter plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  rave_flutter: ^0.0.1-alpha.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:rave_flutter/rave_flutter.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

73 out of 73 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/rave_flutter.dart.

Run flutter format to format lib/rave_flutter.dart.

Format lib/src/common/my_colors.dart.

Run flutter format to format lib/src/common/my_colors.dart.

Format lib/src/common/strings.dart.

Run flutter format to format lib/src/common/strings.dart.

Fix additional 20 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/common/validator_utills.dart (Run flutter format to format lib/src/common/validator_utills.dart.)
  • lib/src/helper/banks_helper.dart (Run flutter format to format lib/src/helper/banks_helper.dart.)
  • lib/src/models/Bank.dart (Run flutter format to format lib/src/models/Bank.dart.)
  • lib/src/rave_pay_manager.dart (Run flutter format to format lib/src/rave_pay_manager.dart.)
  • lib/src/widgets/base_widget.dart (Run flutter format to format lib/src/widgets/base_widget.dart.)
  • lib/src/widgets/common/card_utils.dart (Run flutter format to format lib/src/widgets/common/card_utils.dart.)
  • lib/src/widgets/custom_dialog.dart (Run flutter format to format lib/src/widgets/custom_dialog.dart.)
  • lib/src/widgets/fields/account_number_field.dart (Run flutter format to format lib/src/widgets/fields/account_number_field.dart.)
  • lib/src/widgets/fields/amount_field.dart (Run flutter format to format lib/src/widgets/fields/amount_field.dart.)
  • lib/src/widgets/fields/base_field.dart (Run flutter format to format lib/src/widgets/fields/base_field.dart.)
  • lib/src/widgets/fields/card_number_field.dart (Run flutter format to format lib/src/widgets/fields/card_number_field.dart.)
  • lib/src/widgets/fields/expiry_date_field.dart (Run flutter format to format lib/src/widgets/fields/expiry_date_field.dart.)
  • lib/src/widgets/fields/phone_number_field.dart (Run flutter format to format lib/src/widgets/fields/phone_number_field.dart.)
  • lib/src/widgets/payment/pages/account_payment_widget.dart (Run flutter format to format lib/src/widgets/payment/pages/account_payment_widget.dart.)
  • lib/src/widgets/payment/pages/base_payment_page.dart (Run flutter format to format lib/src/widgets/payment/pages/base_payment_page.dart.)
  • lib/src/widgets/payment/pages/card_payment_widget.dart (Run flutter format to format lib/src/widgets/payment/pages/card_payment_widget.dart.)
  • lib/src/widgets/payment/pages/gh_mobile_money_payment_widget.dart (Run flutter format to format lib/src/widgets/payment/pages/gh_mobile_money_payment_widget.dart.)
  • lib/src/widgets/payment/pages/mpesa_payment_widget.dart (Run flutter format to format lib/src/widgets/payment/pages/mpesa_payment_widget.dart.)
  • lib/src/widgets/payment/pages/ug_mobile_money_payment_widget.dart (Run flutter format to format lib/src/widgets/payment/pages/ug_mobile_money_payment_widget.dart.)
  • lib/src/widgets/payment/rave_pay_widget.dart (Run flutter format to format lib/src/widgets/payment/rave_pay_widget.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-20 points)

The version constraint in pubspec.yaml does not support the latest published versions for 2 dependencies (flutter_svg, meta).

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Package is pre-release. (-5 points)

Pre-release versions should be used with caution; their API can change in breaking ways.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
async ^2.1.0 2.3.0
flutter 0.0.0
flutter_svg ^0.12.4+1 0.12.4+1 0.13.1
http ^0.12.0+2 0.12.0+2
intl ^0.15.8 0.15.8
meta ^1.1.6 1.1.6 1.1.7
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
http_parser 3.1.3
path 1.6.2
path_drawing 0.4.1
path_parsing 0.1.4
pedantic 1.8.0+1
petitparser 2.4.0
sky_engine 0.0.99
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
xml 3.5.0
Dev dependencies