Adaptive Size helper created using concept of responsive_sizer and flutter_screen_util package.
dependencies:
adaptive_sizer:
git:
url: https://github.com/kishormainali/adaptive_sizer
import 'package:adaptive_sizer/adaptive_sizer.dart';
AdaptiveSizer(
builder: (context) {
return MaterialApp(
home: HomePage(),
);
},
);
Container(
width: 20.w,
height: 30.5.h
)
Text(
'Adaptive Sizer',
style: TextStyle(fontSize: 15.sp),
)