responsive_addons 2.0.0 copy "responsive_addons: ^2.0.0" to clipboard
responsive_addons: ^2.0.0 copied to clipboard

discontinuedreplaced by: responsive_master

A powerful Flutter package that provides responsive UI utilities and a Bootstrap-style grid system for building adaptable layouts across all screen sizes and devices.

example/lib/main.dart

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

void main() {

  //init
    ResponsiveScale.initialize(
    width: 428,
    height: 926,
    statusBar: 0, // or auto-detect from context if needed
  );
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Responsive Addons',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(useMaterial3: true, colorSchemeSeed: Colors.deepPurple),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});
  
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Responsive', style: TextStyle(fontSize: 20.sp))),
      body: Center(
        child: Container(
          width: 200.w,
          height: 100.h,
          color: Colors.teal,
          alignment: Alignment.center,
          child: Text(
            'Responsive Box',
            style: TextStyle(fontSize: 16.sp, color: Colors.white),
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful Flutter package that provides responsive UI utilities and a Bootstrap-style grid system for building adaptable layouts across all screen sizes and devices.

Repository (GitHub)
View/report issues

Topics

#responsive #figma #extensions #adaptive #spacing

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on responsive_addons