auto_responsive_ui 0.0.5 copy "auto_responsive_ui: ^0.0.5" to clipboard
auto_responsive_ui: ^0.0.5 copied to clipboard

Smart responsive scaling engine for Flutter with adaptive layout support.

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

/// Example app demonstrating auto_responsive_ui usage
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ResponsiveBuilder(
      config: const ResponsiveConfig(
        designWidth: 375,
        designHeight: 812,
      ),
      child: MaterialApp(
        home: const HomePage(),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Auto Responsive UI")),
      body: Padding(
        padding: EdgeInsets.all(16.w),
        child: Text(
          "Responsive Text",
          style: TextStyle(fontSize: 18.r),
        ),
      ),
    );
  }
}
1
likes
160
points
214
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Smart responsive scaling engine for Flutter with adaptive layout support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_responsive_ui