ResponsiveConfig class
Configuration options for flutter_scalify
Constructors
- ResponsiveConfig({double watchBreakpoint = 300.0, double mobileBreakpoint = 600.0, double tabletBreakpoint = 900.0, double smallDesktopBreakpoint = 1200.0, double desktopBreakpoint = 1800.0, bool respectTextScaleFactor = true, double minScale = 0.5, double maxScale = 3.0, double outerHorizontalPadding = 16.0})
-
const
Properties
- desktopBreakpoint → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxScale → double
-
final
- minScale → double
-
Minimum and Maximum scaling factors to prevent UI explosion on 4K screens
final
- mobileBreakpoint → double
-
final
- outerHorizontalPadding → double
-
Optional horizontal padding when centering a constrained layout (AppWidthLimiter)
final
- respectTextScaleFactor → bool
-
Whether to respect the system's text scale factor (Accessibility)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallDesktopBreakpoint → double
-
final
- tabletBreakpoint → double
-
final
- watchBreakpoint → double
-
final
Methods
-
copyWith(
{double? watchBreakpoint, double? mobileBreakpoint, double? tabletBreakpoint, double? smallDesktopBreakpoint, double? desktopBreakpoint, bool? respectTextScaleFactor, double? minScale, double? maxScale, double? outerHorizontalPadding}) → ResponsiveConfig -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited