size_configure 0.1.4 size_configure: ^0.1.4 copied to clipboard
Flutter SizeConfigure Package
import 'package:flutter/material.dart';
import 'package:size_configure/size_configure.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return LayoutBuilder(
builder: (context, constraints) {
return OrientationBuilder(
builder: (context, orientation) {
SizeConfigure().init(constraints, orientation);
return MaterialApp(
title: 'SizeConfigure Package Example',
);
},
);
},
);
}
}