responsive_design 0.0.3 copy "responsive_design: ^0.0.3" to clipboard
responsive_design: ^0.0.3 copied to clipboard

outdated

Create responsive applications using different widgets that adapt to different screen densities.

example/lib/main.dart

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

/// Main Method
void main() {
  runApp(MyApp());
}

/// StatelessWidget to show an example
class MyApp extends StatelessWidget {
  /// Override build method with responsive scaffold widget
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: ResponsiveScaffold(
        responsiveAppBar: ResponsiveAppBar(
          actions: [
            AppBarAction(
              showInSmallScreen: true,
              showInMediumScreen: false,
              child: Center(
                child: InkWell(
                  onTap: () {},
                  child: Text('Hola Mundo'),
                ),
              ),
            )
          ],
        ),
      ),
    );
  }
}
4
likes
0
points
73
downloads

Publisher

verified publisheralexastudillo.com

Weekly Downloads

Create responsive applications using different widgets that adapt to different screen densities.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on responsive_design