lazyui 4.0.0 copy "lazyui: ^4.0.0" to clipboard
lazyui: ^4.0.0 copied to clipboard

LazyUi is a collection of widgets and utilities designed to simplify and speed up the app development process with Flutter.

example/lib/main.dart

import 'package:animated_theme_switcher/animated_theme_switcher.dart';
import 'package:example/app/modules/home/views/home_view.dart';
import 'package:flutter/material.dart';
import 'package:lazyui/lazyui.dart';

void main() async {
  // initialize lazyui
  LazyUi.init();

  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return ThemeProvider(
      initTheme: LzTheme.light,
      builder: (context, theme) {
        return MaterialApp(
          theme: theme,
          title: 'LazyUi',
          home: const HomeView(),
          builder: (BuildContext context, Widget? widget) {
            // use LazyUi.builder to wrap your widget
            // so that you can use LzToast and setting maxScalingFontSize
            return LazyUi.builder(context, widget, maxScalingFontSize: 1.1);
          },
        );
      },
    );
  }
}
6
likes
0
points
1.18k
downloads

Publisher

unverified uploader

Weekly Downloads

LazyUi is a collection of widgets and utilities designed to simplify and speed up the app development process with Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor, cached_network_image, custom_refresh_indicator, device_info_plus, flutter, flutter_svg, google_fonts, http, intl, path_provider, stack_trace, teledart, tutorial_coach_mark

More

Packages that depend on lazyui