A method

List<Location> A(
  1. double w,
  2. double h
)

Implementation

List<Location> A(double w, double h) {
  return [
    Location('1', Offset(w * 0.6, h * 0.5)),
    Location('2', Offset(w * 0.17, h * 0.28)),
    Location('3', Offset(w * 0.45, h * 0.08)),
    Location('4', Offset(w * 0.55, h * 0.30)),
    Location('5', Offset(w * 0.80, h * 0.20)),
    Location('6', Offset(w * 0.85, h * 0.72)),
    Location('7', Offset(w * 0.45, h * 0.60)),
    Location('8', Offset(w * 0.60, h * 0.88)),
    Location('9', Offset(w * 0.12, h * 0.92)),
    Location('10', Offset(w * 0.2, h * 0.50)),
  ];
}