zipy_flutter 0.0.6 copy "zipy_flutter: ^0.0.6" to clipboard
zipy_flutter: ^0.0.6 copied to clipboard

Release of the zipy_flutter package, compatible with both iOS and Android.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:zipy_flutter/zipy_flutter.dart';
import 'package:zipy_flutter_example/screens/login_screen.dart';
import 'screens/home_screen.dart';
import 'screens/api_call_screen.dart';
import 'screens/misc_screen_1.dart';
import 'screens/misc_screen_2.dart';
import 'screens/misc_screen_3.dart';
import 'screens/error_simulation_screen.dart';
import 'screens/anr_crash_screen.dart';
import 'errors/error_screen.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  Zipy.init(key: 'YOUR_API_KEY');
  runApp(const ZipyWrapper(child: MyApp()));
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Custom Flutter App',
      theme: ThemeData(primarySwatch: Colors.blue),
      navigatorObservers: [ZipyNavigationObserver()],
      initialRoute: '/login',
      routes: {
        '/login': (context) => const LoginScreen(),
        '/home': (context) => const HomeScreen(),
        '/api-calls': (context) => const ApiCallScreen(),
        '/misc-1': (context) => const MiscScreen1(),
        '/misc-2': (context) => const MiscScreen2(),
        '/misc-3': (context) => const MiscScreen3(),
        '/error-simulation': (context) => const ErrorSimulationScreen(),
        '/anr-crash': (context) => const AnrCrashScreen(),
        '/zipy-logs': (context) => const ErrorScreen(),
      },
    );
  }
}
1
likes
0
points
1.49k
downloads

Publisher

unverified uploader

Weekly Downloads

Release of the zipy_flutter package, compatible with both iOS and Android.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

dio, fixnum, flutter, http, path, path_provider, plugin_platform_interface, protobuf

More

Packages that depend on zipy_flutter