// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'guru_button.dart';

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

class _GuruButtonStyleDesignSpec extends GuruButtonStyleDesignSpec {
  _GuruButtonStyleDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.s1,
    this.s2,
    this.s3,
    this.s4,
    this.s5,
  );

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

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

  @override
  final double s1;

  @override
  final double s2;

  @override
  final double s3;

  @override
  final double s4;

  @override
  final double s5;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonStyleDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonStyleDesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHeight(104.0, consistent: false), // s1
      _measuredMetrics.measureHeight(96.0, consistent: false), // s2
      _measuredMetrics.measureHeight(80.0, consistent: false), // s3
      _measuredMetrics.measureHeight(72.0, consistent: false), // s4
      _measuredMetrics.measureHeight(60.0, consistent: false), // s5
    );
  }

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

class _GuruButtonS1DesignSpec extends GuruButtonS1DesignSpec {
  _GuruButtonS1DesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.itemHorizontalSpacing,
    this.infoMinWidth,
    this.iconSize,
    this.mainFontSize,
    this.summaryFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(630.0, 104.0));

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

  @override
  final double itemHorizontalSpacing;

  @override
  final double infoMinWidth;

  @override
  final double iconSize;

  @override
  final double mainFontSize;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonS1DesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonS1DesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHorizontal(12.0), // itemHorizontalSpacing
      _measuredMetrics.measureHorizontal(72.0), // infoMinWidth
      _measuredMetrics.measureHeight(56.0, consistent: false), // iconSize
      _measuredMetrics.measureAbsoluteFontSize(36.0,
          consistent: true), // mainFontSize
      _measuredMetrics.measureAbsoluteFontSize(20.0,
          consistent: false), // summaryFontSize
    );
  }

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

class _GuruButtonS2DesignSpec extends GuruButtonS2DesignSpec {
  _GuruButtonS2DesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.itemHorizontalSpacing,
    this.infoMinWidth,
    this.iconSize,
    this.mainFontSize,
    this.summaryFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(542.0, 96.0));

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

  @override
  final double itemHorizontalSpacing;

  @override
  final double infoMinWidth;

  @override
  final double iconSize;

  @override
  final double mainFontSize;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonS2DesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonS2DesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHorizontal(12.0), // itemHorizontalSpacing
      _measuredMetrics.measureHorizontal(72.0), // infoMinWidth
      _measuredMetrics.measureHeight(56.0, consistent: false), // iconSize
      _measuredMetrics.measureAbsoluteFontSize(32.0,
          consistent: true), // mainFontSize
      _measuredMetrics.measureAbsoluteFontSize(20.0,
          consistent: true), // summaryFontSize
    );
  }

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

class _GuruButtonS3DesignSpec extends GuruButtonS3DesignSpec {
  _GuruButtonS3DesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.itemHorizontalSpacing,
    this.infoMinWidth,
    this.iconSize,
    this.mainFontSize,
    this.summaryFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(480.0, 80.0));

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

  @override
  final double itemHorizontalSpacing;

  @override
  final double infoMinWidth;

  @override
  final double iconSize;

  @override
  final double mainFontSize;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonS3DesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonS3DesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHorizontal(12.0), // itemHorizontalSpacing
      _measuredMetrics.measureHorizontal(72.0), // infoMinWidth
      _measuredMetrics.measureHeight(48.0, consistent: false), // iconSize
      _measuredMetrics.measureAbsoluteFontSize(28.0,
          consistent: true), // mainFontSize
      _measuredMetrics.measureAbsoluteFontSize(18.0,
          consistent: true), // summaryFontSize
    );
  }

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

class _GuruButtonS4DesignSpec extends GuruButtonS4DesignSpec {
  _GuruButtonS4DesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.itemHorizontalSpacing,
    this.infoMinWidth,
    this.iconSize,
    this.mainFontSize,
    this.summaryFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(400.0, 72.0));

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

  @override
  final double itemHorizontalSpacing;

  @override
  final double infoMinWidth;

  @override
  final double iconSize;

  @override
  final double mainFontSize;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonS4DesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonS4DesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHorizontal(12.0), // itemHorizontalSpacing
      _measuredMetrics.measureHorizontal(72.0), // infoMinWidth
      _measuredMetrics.measureHeight(48.0, consistent: false), // iconSize
      _measuredMetrics.measureAbsoluteFontSize(26.0,
          consistent: true), // mainFontSize
      _measuredMetrics.measureAbsoluteFontSize(18.0,
          consistent: true), // summaryFontSize
    );
  }

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

class _GuruButtonS5DesignSpec extends GuruButtonS5DesignSpec {
  _GuruButtonS5DesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.itemHorizontalSpacing,
    this.infoMinWidth,
    this.iconSize,
    this.mainFontSize,
    this.summaryFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(172.0, 60.0));

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

  @override
  final double itemHorizontalSpacing;

  @override
  final double infoMinWidth;

  @override
  final double iconSize;

  @override
  final double mainFontSize;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruButtonS5DesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruButtonS5DesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureHorizontal(12.0), // itemHorizontalSpacing
      _measuredMetrics.measureHorizontal(72.0), // infoMinWidth
      _measuredMetrics.measureHeight(44.0, consistent: false), // iconSize
      _measuredMetrics.measureAbsoluteFontSize(26.0,
          consistent: true), // mainFontSize
      _measuredMetrics.measureAbsoluteFontSize(18.0,
          consistent: true), // summaryFontSize
    );
  }

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