Skip to content
pubscout

flutter_scalify

3.1.0, released 9 months ago by an unverified publisher

A responsive layout system with scaling extensions, grids, container queries, and adaptive widgets.

WASM-ready
$ flutter pub add flutter_scalify
Source repository

What it does

Provides an intelligent scaling engine for Flutter apps. It scales UI across Mobile, Web, and Desktop using simple extensions, smart container queries, screen breakpoints, and zero overhead.

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

Use it when

  • You need to scale UI elements, spacing, and text uniformly across different screen sizes.
  • You require a complete responsive design system with breakpoints, grids, and adaptive widgets like navigation and tables.

Skip it when

  • You prefer a strictly standard Material layout without design-to-screen pixel scaling.
  • You are already heavily invested in another responsive layout package.

Strengths

  • Zero external dependencies and O(1) inline math.
  • Comprehensive suite of responsive widgets including container queries, slivers, and adaptive navigation.
  • Built-in 4K/ultra-wide screen dampening protection.

Weaknesses

  • Global scaling can sometimes alter text scaling expectations if not configured carefully.
  • Requires adherence to specific design baseline dimensions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Wrap your app with ScalifyProvider and provide your design dimensions.

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

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

  @override
  Widget build(BuildContext context) {
    return ScalifyProvider(
      config: const ScalifyConfig(
        designWidth: 375,
        designHeight: 812,
      ),
      builder: (context, child) => MaterialApp(
        theme: ThemeData.light().scale(context),
        home: child,
      ),
      child: const HomeScreen(),
    );
  }
}

Alternatives

Packages that do the same job and could replace flutter_scalify.

  • responsive_framework

    If you prefer auto-scaling via wrapping screens with UI scaling breakpoints rather than granular extension math.

  • responsive_builder

    If you prefer a simpler builder-based layout selection for screen sizes.

  • sizer

    If you only need basic percentage-based sizing extensions without a full layout engine.