fluid_sdk 0.1.0 copy "fluid_sdk: ^0.1.0" to clipboard
fluid_sdk: ^0.1.0 copied to clipboard

A Flutter package for handling payment flows

example/lib/main.dart

import 'package:fluid_sdk/fluid_sdk.dart';
import 'package:flutter/material.dart';

import 'router.dart';

void main() async {
  await initialize(
    FluidEnv.test,
    'YOUR_API_KEY',
    AssetImage('images/coke_buddy.png'),
  );
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  final _appRouter = AppRouter();

  MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(routerConfig: _appRouter.config());
  }
}
0
likes
0
points
251
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for handling payment flows

License

unknown (license)

Dependencies

auto_route, built_collection, built_value, decimal, dio, flutter, flutter_svg, intl, logger, provider

More

Packages that depend on fluid_sdk