Skip to main content

fast_package 0.0.5 copy "fast_package: ^0.0.5" to clipboard
fast_package: ^0.0.5 copied to clipboard

A lightweight Flutter toolkit with debounce/throttle, async queue, extensions, and UI widgets (Toast, Loading, Shimmer, Refresh, gradient borders). Depends only on the Flutter SDK.

example/lib/main.dart

import 'package:example/routes/routes.dart';
import 'package:fast_package/fast_package.dart';
import 'package:flutter/material.dart';

final GlobalKey<NavigatorState> rootNavigatorKey = GlobalKey<NavigatorState>();

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      navigatorKey: rootNavigatorKey,
      routes: ExampleRoute.routes,
      initialRoute: ExampleRoute.initRoutes,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      builder: (context, child) {
        return FastLoadingOverlay(
          navigatorKey: rootNavigatorKey,
          child: FastToastOverlay(
            child: child ?? const SizedBox.shrink(),
          ),
        );
      },
    );
  }
}
3
likes
150
points
52
downloads

Documentation

Documentation
API reference

Publisher

verified publisherchenyiren.top

Weekly Downloads

A lightweight Flutter toolkit with debounce/throttle, async queue, extensions, and UI widgets (Toast, Loading, Shimmer, Refresh, gradient borders). Depends only on the Flutter SDK.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #widget #ui #utilities #toast

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on fast_package