fittor 1.0.2+1
fittor: ^1.0.2+1 copied to clipboard
A comprehensive Flutter package for creating responsive UIs that adapt to different screen sizes and orientations.
0.0.1 #
- Initial development release
- Preparing package for pub.flutter-io.cn publication
1.0.0 #
- First stable release of Responsive Helper package
- Core features implemented:
- Device type detection (Mobile, Tablet, Desktop)
- Orientation detection
- Percentage-based width and height calculations
- Safe area aware sizing
- Adaptive font sizes
- Context extensions for responsive design
- Device-specific value selection
1.0.1 #
- Fixed a bug in the
ResponsiveHelper.ofmethod that caused a crash when used in a widget tree. - Added a new method
ResponsiveHelper.ofContextto retrieve the responsive helper instance from a BuildContext. - Added a new method
ResponsiveHelper.ofDeviceTypeto retrieve the device type from a BuildContext. - Added a new method
ResponsiveHelper.ofOrientationto retrieve the orientation from a BuildContext.
1.0.2 #
- New SizedBox widget to wrap content and apply responsive sizing.
- Use Height Like this
Widget _buildCustomSizedBoxExamples(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Height 10',
style: TextStyle(
fontSize: context.fs(18),
fontWeight: FontWeight.bold,
),
),
10.h,
Text(
'Height 20',
style: TextStyle(
fontSize: context.fs(18),
fontWeight: FontWeight.bold,
),
),
20.h,
],
);
}
1.0.2+1 #
- License updated to MIT
- README.md updated with new features and examples
- ScaleFactor Deprecated and replaced with ScaleFactor.of