Skip to content

Adaptive Size helper created using concept of responsive_sizer and flutter_screen_util package

License

Notifications You must be signed in to change notification settings

kishormainali/adaptive_sizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Sizer

Adaptive Size helper created using concept of responsive_sizer and flutter_screen_util package.

Installation



dependencies:
  adaptive_sizer:
    git:
      url: https://github.com/kishormainali/adaptive_sizer

Usage



Import the package

import 'package:adaptive_sizer/adaptive_sizer.dart';

Wrap MaterialApp with AdaptiveSizer widget



AdaptiveSizer( 
  builder: (context) {
    return MaterialApp(
      home: HomePage(),
    );
  },
);

Widget Size



Container(
  width: 20.w,   
  height: 30.5.h     
)

Text Size



Text(
  'Adaptive Sizer', 
  style: TextStyle(fontSize: 15.sp), 
)

About

Adaptive Size helper created using concept of responsive_sizer and flutter_screen_util package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages