responsive_widgets 2.0.1 responsive_widgets: ^2.0.1 copied to clipboard
This plugin helps to create responsive widgets, that makes an auto-size with the proportion between reference ScreenSize and the screen that the app is running.
import 'package:flutter/material.dart';
import 'home_screen.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowMaterialGrid: true,
home: HomeScreen(),
);
}
}