AdaptKit constructor

const AdaptKit({
  1. Key? key,
  2. required Widget child,
  3. Size designSize = const Size(375, 812),
  4. AdaptStrategy strategy = AdaptStrategy.width,
  5. TextBehavior textBehavior = TextBehavior.scale,
  6. bool supportSystemTextScale = true,
  7. SafeMode safeMode = SafeMode.auto,
  8. 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,
});