lazyui 4.0.0-rc.1 copy "lazyui: ^4.0.0-rc.1" to clipboard
lazyui: ^4.0.0-rc.1 copied to clipboard

retracted

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

LazyUi is a collection of widgets and utilities designed to simplify and speed up the app development process with Flutter. Simplifying Flutter development for those who prefer efficiency. Fewer lines, cleaner code, quicker results. The essential tool for the streamlined developer.

Usage #

To use this plugin, add lazyui as a dependency in your pubspec.yaml file.

Table of Contents #

Get Started #

In your main.dart file, initialize LazyUi by calling the init method:

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

        runApp(const MyApp());
    }

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

        @override
        Widget build(BuildContext context) {
            return MaterialApp(
                title: 'App',
                theme: LzTheme.light,
                home: const HomeView()
            );
        }
    }
copied to clipboard

Extensions #

LazyUI provides a set of extension methods to simplify common tasks within your Flutter application. These extensions enhance code readability and maintainability by offering concise ways to interact with the context and manipulate numbers.

context #

    // navigation
    context.lz.push(const Page());
    context.lz.pop();

    // dialog, bottom sheet
    context.dialog(const Widget());
    context.bottomSheet(const Widget());

    // size
    context.width;
    context.height;
copied to clipboard

For more information and examples, context

number #

    100.ms; // Duration(milliseconds: 100);
    5.s; // Duration(seconds: 1);
copied to clipboard

For more information and examples, see the example.

6
likes
0
points
578
downloads

Publisher

unverified uploader

Weekly Downloads

2024.06.24 - 2025.01.06

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