responsive_design 0.0.19 copy "responsive_design: ^0.0.19" to clipboard
responsive_design: ^0.0.19 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';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        appBarTheme: const AppBarTheme(
          backgroundColor: Colors.blueGrey,
        ),
      ),
      home: const ResponsiveWidget(
        desktop: Scaffold(),
        phone: Scaffold(),
        tablet: Scaffold(),
        watch: Scaffold(),
      ),
    );
  }
}
4
likes
0
points
18
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