Skip to content
pubscout

flutter_screenutil_plus

2.0.0, released 5 weeks ago by otlobtech.com

Adaptive screen and font scaling with CSS-like breakpoints and container-aware layouts.

WASM-readyUses material_ui
$ flutter pub add flutter_screenutil_plus
Source repository

What it does

Scales UI elements, text sizes, and padding based on design draft dimensions and screen constraints. Provides CSS-like media query breakpoints, SwiftUI-style size classes, and nested layout scoping.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to adapt layouts and font sizes across different mobile and desktop screen dimensions
  • You want CSS-like breakpoints or SwiftUI-style size classes for responsive Flutter UI
  • You require container-aware responsive panes via LayoutScope

Skip it when

  • You are using the standard material library and cannot migrate your app imports to the standalone material_ui package
  • You prefer pure Flutter layout primitives without third-party scaling extensions

Strengths

  • Comprehensive suite of responsive extensions, widgets, and breakpoint builders
  • Performance optimized with optional autoRebuild: false and context-aware extensions
  • Container-aware LayoutScope for nested panes and sidebars

Weaknesses

  • Requires switching Material imports to the standalone material_ui package
  • Strict SDK constraints requiring Dart 3.13+ and Flutter 3.47+

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Requires adding package, importing material_ui instead of standard material, and wrapping the app with ScreenUtilPlusInit.

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ScreenUtilPlusInit(
      designSize: const Size(360, 690),
      builder: (context, child) {
        return MaterialApp(
          home: HomePage(),
        );
      },
    );
  }
}

Alternatives

Packages that do the same job and could replace flutter_screenutil_plus.

  • flutter_screenutil

    If you want standard screen adaptation without replacing standard Flutter Material imports or package constraints.

Works with

Packages commonly used together with flutter_screenutil_plus: ones it builds on, ones built on it, and its own family.