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

A simple, professional responsive layout solution for Flutter.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flex Responsive Example',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flex Responsive Demo'),
        ),
        body: FlexResponsiveLayout(
          mobile: const Center(child: Text('Mobile Layout')),
          tablet: const Center(child: Text('Tablet Layout')),
          desktop: const Center(child: Text('Desktop Layout')),
        ),
      ),
    );
  }
}
1
likes
160
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

A simple, professional responsive layout solution for Flutter.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flex_responsive