AdaptKit constructor
const
AdaptKit({
- Key? key,
- required Widget child,
- Size designSize = const Size(375, 812),
- AdaptStrategy strategy = AdaptStrategy.width,
- TextBehavior textBehavior = TextBehavior.scale,
- bool supportSystemTextScale = true,
- SafeMode safeMode = SafeMode.auto,
- NotchClassifier? classifier,
Implementation
const AdaptKit({
super.key,
required this.child,
this.designSize = const Size(375, 812),
this.strategy = AdaptStrategy.width,
this.textBehavior = TextBehavior.scale,
this.supportSystemTextScale = true,
this.safeMode = SafeMode.auto,
this.classifier,
});