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

A Flutter widget that wraps Dart deferred (lazy) library loading for web apps. Splits your app into on-demand chunks, dramatically reducing the initial JS bundle size and improving time-to-interactive [...]

example/lib/main.dart

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

void main() => runApp(const App());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'flutter_lazy_load_web demo',
      routerConfig: router,
      theme: ThemeData(
        colorSchemeSeed: Colors.deepPurple,
        useMaterial3: true,
      ),
    );
  }
}
3
likes
0
points
81
downloads

Publisher

verified publishermatheusvinicius.dev.br

Weekly Downloads

A Flutter widget that wraps Dart deferred (lazy) library loading for web apps. Splits your app into on-demand chunks, dramatically reducing the initial JS bundle size and improving time-to-interactive — with zero external dependencies.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_lazy_load_web