easy_upi_payment 0.1.4 easy_upi_payment: ^0.1.4 copied to clipboard
A new flutter plugin to make upi payment with ease currently only supported by Android (only for India).
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'app/app.dart';
import 'app/core/local_storage/app_storage.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
// for initializing local storage
final appStorage = AppStorage();
await appStorage.initAppStorage();
runApp(
ProviderScope(
overrides: [
appStorageProvider.overrideWithValue(appStorage),
],
child: const App(),
),
);
}