fittor 1.0.8
fittor: ^1.0.8 copied to clipboard
A comprehensive Flutter package for creating responsive UIs that adapt to different screen sizes and orientations. A lightweight, intuitive state management solution for Flutter applications.
1.0.8 #
- Fittor Store
- A secure, persistent key-value storage solution for Flutter applications with built-in encryption for sensitive data.
- Secure Storage: Automatically encrypts sensitive data (tokens, passwords, etc.)
- Persistent Storage: Data survives app restarts
- Type-Safe Operations: Dedicated methods for different data types
- Automatic Serialization: Handles complex types like DateTime and JSON
- Security Features:
- PIN protection (via
FittorSecure) - Session timeout
- Failed attempt lockout
- Encryption key rotation
- PIN protection (via
- Convenience Mixin: Easy access to storage in StatefulWidgets
- Backup & Restore: Create and restore from backups
- Auto-Save: Configurable auto-save functionality
1.0.7 #
- A lightweight, intuitive state management solution for Flutter applications.
- Controller-based state management: Create reactive UIs with minimal code
- Dependency injection: Easily register and find controllers throughout your app
- Reactive value wrappers: Optimized UI updates with fine-grained reactivity
- Bindings system: Organize dependencies by route or feature
- Extension methods: Access controllers directly from BuildContext
- Auto-disposal: Controllers are automatically managed in the widget lifecycle
1.0.6 #
- Currency Converter Free API
- Live Currency Converter
- Currency Converter Widget
- Currency Converter Example
final converter = CurrencyConverter();
// Manually get latest rates for a base currency
Map<String, dynamic> rates = await converter.getLatestRates('EUR');
// Create Widget
final currencyUtils = FittorCurrency();
// Create a currency text widget
Widget priceText = currencyUtils.currencyText(
'\$1,234.56',
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
);
1.0.5 #
- Add Logo to README.md
- Add Clear Cache to README.md
1.0.4 #
- Added Internet Connectivity Monitoring
- Added ConnectivityMixin for StatefulWidgets
- Added ConnectivityWrapper for wrapping UI with connectivity monitoring
class MyApp extends StatelessWidget with FittorAppMixin {
const MyApp({super.key});
@override
Widget responsive(BuildContext context) {
return MaterialApp(
home: ConnectivityWrapper(
ignoreOfflineState: true,
onConnectivityChanged: (status) {
debugPrint('Connectivity status: $status');
},
child: const HomeScreen(),
),
);
}
}
1.0.3 #
- Added a new method to the ResponsiveHelper class to retrieve the current device type from a BuildContext.
1.0.2+1 #
- License updated to MIT
- README.md updated with new features and examples
- ScaleFactor Deprecated and replaced with ScaleFactor.of
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.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.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
0.0.1 #
- Initial development release
- Preparing package for pub.dev publication