INNER CODE UNIT · Dart

UnConstrained

hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:1850

class UnConstrained extends ParentDataWidget<ConstraintBoxData> {
  final ConstraintId id;

  const UnConstrained({
    Key? key,
    required this.id,
    required Widget child,
  })  : assert(child is! UnConstrained,
            'UnConstrained can not be wrapped with UnConstrained.'),
        assert(child is! Constrained,
            'Constrained can not be wrapped with UnConstrained.'),
        assert(child is! Guideline,
            'Guideline can not be wrapped with UnConstrained.'),
        assert(child is! Barrier,
            'Barrier can not be wrapped with UnConstrained.'),
        super(
          key: key,
          child: child,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…