yuno 0.2.0 copy "yuno: ^0.2.0" to clipboard
yuno: ^0.2.0 copied to clipboard

Yuno Flutter SDK empowers you to create seamless payment experiences in your native Android and iOS apps built with Flutter.

example/lib/main.dart

import 'package:country_code_picker/country_code_picker.dart';
import 'package:example/core/helpers/secure_storage_helper.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'features/home/presenter/screen/home.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final sharedPreferences = await SharedPreferences.getInstance();

  runApp(
    ProviderScope(
      overrides: [
        sharedPreferencesProvider.overrideWithValue(sharedPreferences),
      ],
      child: const MainApp(),
    ),
  );
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        scaffoldBackgroundColor: const Color(0xFFF2F2F7),
      ),
      home: const HomeScreen(),
      localizationsDelegates: const [
        CountryLocalizations.delegate,
      ],
    );
  }
}
3
likes
0
points
513
downloads

Publisher

verified publisherdev.y.uno

Weekly Downloads

Yuno Flutter SDK empowers you to create seamless payment experiences in your native Android and iOS apps built with Flutter.

Homepage

License

unknown (license)

Dependencies

flutter, yuno_sdk_android, yuno_sdk_core, yuno_sdk_foundation, yuno_sdk_platform_interface

More

Packages that depend on yuno