import 'package:design/design.dart';
import 'package:flutter/material.dart';

part 'going_store_design_spec.g.dart';
@DesignSpec(width: 750, height: 1624)
abstract class GoingStoreDialogSpec implements BasicDesignSpec{
  @NestedAspectSpec(500 / 296, 0.6667, widthUpperLimit: 400)
  GoingStoreSpec get goingStoreSpec;
  static GoingStoreDialogSpec get() => _GoingStoreDialogSpec.get();
}

@DesignSpec(width: 500, height: 296, nestedSpec: true)
abstract class GoingStoreSpec implements BasicDesignSpec {

  @SpecRadius.circular(SpecHeight(40))
  BorderRadius get radius;

  @SpecHeight(64)
  double get dotTopSpacing;

  @SpecHeight(32)
  double get dotSize;

  @SpecHeight(20)
  double get summaryTopSpacing;
  @SpecHeight(10)
  double get emojiTopSpacing;

  @SpecFontSize(24)
  double get summaryFontSize;

  @SpecFontSize(40)
  double get emojiTextSize;

  @SpecHeight(26)
  double get emojiBottomSpacing;

  static GoingStoreSpec create(Size measuredSize, {Offset offset = Offset.zero}) =>
      _GoingStoreSpec._create(measuredSize, offset: offset);
}