layout_pro 0.0.2 copy "layout_pro: ^0.0.2" to clipboard
layout_pro: ^0.0.2 copied to clipboard

A Package which help developers to create responsive ui.

example/main.dart

import 'package:flutter/material.dart';
import 'package:layout_pro/responsive.dart';
void main() {
  runApp(const MyApp());
}
class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Responsive GridView Example'),
        ),
        body: Responsive(
          mobileCrossAxisCount: 2,
          mobileRatio: 1.5,
          itemCount: 10,
          builder: (context, index) {
            return Container(
              color: Colors.blue,
              child: Center(
                child: Text('Item $index'),
              ),
            );
          },
        ),
      ),
    );
  }
}
6
likes
0
points
242
downloads

Publisher

verified publisherhamadanwar.me

Weekly Downloads

A Package which help developers to create responsive ui.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on layout_pro