uni_size library
Classes
- ConditionalWidget
- A conditional widget based on screen type
- OrientationResponsive
- A widget that rebuilds when orientation changes
- ResponsiveBuilder
- A builder widget for responsive designs
- UniSizeConstants
- Constants used throughout the UniSize package
- UniSizeDevice
- Device information and sizing calculations
- UniSizeWidget
- A widget that automatically initializes and manages UniSize
Enums
- UniSizeDeviceType
- Device types supported by UniSize
- UniSizeScreenType
- Screen types based on size
Extensions
- UniSizeContextExtension on BuildContext
- Extension on BuildContext for UniSize utilities
- UniSizeExtension on num
- Extension on num to provide sizing utilities
Functions
-
initUniSize(
BuildContext context, {double? designWidth, double? designHeight, double? minTextScaleFactor, double? maxTextScaleFactor}) → void - Initialize UniSize - Call this before using any sizing extensions
Typedefs
- UniSizeBuilder = Widget Function(BuildContext context, Orientation orientation, UniSizeScreenType screenType)
- Callback function type for responsive builder