B method

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

Implementation

List<Location> B(double w, double h) {
  return [
    Location('1', Offset(w * 0.6, h * 0.5)),
    Location('A', Offset(w * 0.17, h * 0.28)),
    Location('2', Offset(w * 0.45, h * 0.08)),
    Location('B', Offset(w * 0.55, h * 0.30)),
    Location('3', Offset(w * 0.80, h * 0.20)),
    Location('C', Offset(w * 0.85, h * 0.72)),
    Location('4', Offset(w * 0.45, h * 0.60)),
    Location('D', Offset(w * 0.60, h * 0.88)),
    Location('5', Offset(w * 0.12, h * 0.82)),
    Location('E', Offset(w * 0.2, h * 0.50)),
  ];
}