// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'guru_awards_page.dart';

// **************************************************************************
// DesignSpecGenerator
// **************************************************************************

class _GuruAwardsPageDesignSpec extends GuruAwardsPageDesignSpec {
  _GuruAwardsPageDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.tabbarTopSpacing,
    this.tabbarBottomSpacing,
  );

  static final designMetrics = DesignMetrics.create(const Size(750.0, 1624.0));

  static final Map<String, _GuruAwardsPageDesignSpec> _cache = {};

  @override
  final double tabbarTopSpacing;

  @override
  final double tabbarBottomSpacing;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruAwardsPageDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruAwardsPageDesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHeight(24.0, consistent: true), // tabbarTopSpacing
      _measuredMetrics.measureHeight(12.0, consistent: true) // tabbarBottomSpacing
    );
  }

  static GuruAwardsPageDesignSpec get({Offset offset = Offset.zero}) {
    final Size measuredSize = Get.size;
    final key = BasicDesignSpec.buildSpecKey(measuredSize, offset);
    _GuruAwardsPageDesignSpec? designSpec = _cache[key];
    if (kDebugMode || designSpec == null) {
      designSpec = _create(measuredSize, offset: offset);
      _cache[key] = designSpec;
    }
    return designSpec;
  }
}
