sizer 3.0.3 sizer: ^3.0.3 copied to clipboard
Responsive UI solution for Mobile App,Web and Desktop. Responsiveness made easy.
import 'package:example/screens/home_screen.dart';
import 'package:flutter/material.dart';
import 'package:sizer/sizer.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Sizer(
builder: (context, orientation, deviceType) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Sizer',
theme: ThemeData.light(),
home: HomeScreen() ,
);
},
);
}
}