kExprFaces top-level constant
Face layout of every animal (for facial expressions).
Implementation
const Map<DitherAnimalType, ExprFace> kExprFaces = {
DitherAnimalType.owl: ExprFace(
mouth: null,
brows: [(33.0, 29.5, 14.0), (67.0, 29.5, 14.0)],
top: Offset(81.0, 25.0)),
DitherAnimalType.rabbit: ExprFace(
mouth: Offset(50.0, 61.3),
mouthHalf: 7.0,
mouthDrop: 2.6,
brows: [(36.0, 43.0, 11.0), (64.0, 43.0, 11.0)],
top: Offset(78.0, 32.0)),
DitherAnimalType.fish: ExprFace(
mouth: null, brows: [(76.0, 34.0, 10.0)], top: Offset(86.0, 26.0)),
DitherAnimalType.turtle: ExprFace(
mouth: null, brows: [(89.0, 47.0, 9.0)], top: Offset(86.0, 34.0)),
DitherAnimalType.elephant: ExprFace(
mouth: null,
brows: [(37.0, 31.0, 11.0), (63.0, 31.0, 11.0)],
top: Offset(77.0, 20.0)),
DitherAnimalType.cat: ExprFace(
mouth: Offset(50.0, 60.0),
mouthHalf: 6.5,
mouthDrop: 2.6,
brows: [(35.0, 37.0, 11.0), (65.0, 37.0, 11.0)],
top: Offset(79.0, 27.0)),
DitherAnimalType.penguin: ExprFace(
mouth: null,
brows: [(38.0, 33.0, 10.0), (62.0, 33.0, 10.0)],
top: Offset(76.0, 21.0)),
DitherAnimalType.frog: ExprFace(
mouth: null,
brows: [(28.0, 17.9, 14.0), (72.0, 17.9, 14.0)],
top: Offset(86.0, 12.0)),
DitherAnimalType.octopus: ExprFace(
mouth: null,
brows: [(37.0, 35.0, 13.0), (63.0, 35.0, 13.0)],
top: Offset(77.0, 24.0)),
DitherAnimalType.bear: ExprFace(
mouth: Offset(50.0, 58.6),
mouthHalf: 7.0,
mouthDrop: 3.0,
brows: [(35.0, 35.0, 12.0), (65.0, 35.0, 12.0)],
top: Offset(79.0, 23.0)),
DitherAnimalType.lion: ExprFace(
mouth: Offset(50.0, 61.6),
mouthHalf: 7.5,
mouthDrop: 3.0,
brows: [(39.0, 40.0, 12.0), (61.0, 40.0, 12.0)],
top: Offset(75.0, 28.0)),
DitherAnimalType.tiger: ExprFace(
mouth: Offset(50.0, 62.0),
mouthHalf: 7.0,
mouthDrop: 3.0,
brows: [(37.0, 34.7, 13.3), (63.0, 34.7, 13.3)],
top: Offset(77.0, 26.0)),
DitherAnimalType.dog: ExprFace(
mouth: Offset(50.0, 57.4),
mouthHalf: 7.0,
mouthDrop: 3.0,
brows: [(63.0, 35.0, 10.0), (35.0, 34.0, 10.0)],
top: Offset(77.0, 23.0)),
DitherAnimalType.panda: ExprFace(
mouth: Offset(50.0, 60.0),
mouthHalf: 6.5,
mouthDrop: 2.8,
brows: [(36.0, 36.0, 10.0), (64.0, 36.0, 10.0)],
top: Offset(78.5, 28.0)),
DitherAnimalType.mouse: ExprFace(
mouth: null,
brows: [(36.0, 41.4, 12.4), (64.0, 41.4, 12.4)],
top: Offset(78.0, 32.0)),
DitherAnimalType.fox: ExprFace(
mouth: Offset(50.0, 63.0),
mouthHalf: 7.0,
mouthDrop: 3.0,
brows: [(36.0, 40.0, 11.0), (64.0, 40.0, 11.0)],
top: Offset(78.0, 27.0)),
DitherAnimalType.monkey: ExprFace(
mouth: null,
brows: [(38.0, 36.0, 11.0), (62.0, 36.0, 11.0)],
top: Offset(75.0, 24.0)),
DitherAnimalType.duck: ExprFace(
mouth: null,
brows: [(37.0, 30.0, 10.0), (63.0, 30.0, 10.0)],
top: Offset(77.0, 18.0)),
DitherAnimalType.sheep: ExprFace(
mouth: null,
brows: [(43.0, 45.1, 11.4), (57.0, 45.1, 11.4)],
top: Offset(71.0, 35.0)),
DitherAnimalType.hedgehog: ExprFace(
mouth: null, brows: [(79.0, 59.0, 9.0)], top: Offset(86.0, 46.0)),
DitherAnimalType.koala: ExprFace(
mouth: Offset(50.0, 65.0),
mouthHalf: 5.5,
mouthDrop: 2.4,
brows: [(37.0, 39.0, 9.0), (63.0, 39.0, 9.0)],
top: Offset(77.0, 26.0)),
DitherAnimalType.raccoon: ExprFace(
mouth: Offset(50.0, 64.0),
mouthHalf: 6.0,
mouthDrop: 2.6,
brows: [(34.0, 38.1, 11.4), (66.0, 38.1, 11.4)],
top: Offset(80.0, 28.0)),
DitherAnimalType.whale: ExprFace(
mouth: null, brows: [(74.0, 43.0, 9.0)], top: Offset(86.0, 30.0)),
DitherAnimalType.bee: ExprFace(
mouth: Offset(50.0, 51.0),
mouthHalf: 5.0,
mouthDrop: 2.2,
brows: [(38.0, 34.0, 9.0), (62.0, 34.0, 9.0)],
top: Offset(76.0, 22.0)),
DitherAnimalType.cow: ExprFace(
mouth: null,
brows: [(34.0, 36.0, 11.0), (66.0, 36.0, 11.0)],
top: Offset(80.0, 25.0)),
DitherAnimalType.giraffe: ExprFace(
mouth: Offset(50.0, 60.0),
mouthHalf: 6.0,
mouthDrop: 2.4,
brows: [(38.0, 30.0, 10.0), (62.0, 30.0, 10.0)],
top: Offset(76.0, 16.0)),
DitherAnimalType.zebra: ExprFace(
mouth: Offset(50.0, 76.0),
mouthHalf: 6.0,
mouthDrop: 2.6,
brows: [(38.0, 42.0, 10.0), (62.0, 42.0, 10.0)],
top: Offset(76.0, 29.0)),
DitherAnimalType.crab: ExprFace(
mouth: Offset(50.0, 66.0),
mouthHalf: 7.0,
mouthDrop: 3.0,
brows: [(37.0, 18.0, 9.0), (63.0, 18.0, 9.0)],
top: Offset(76.8, 8.0)),
DitherAnimalType.flamingo:
ExprFace(mouth: null, brows: [(61.0, 9.8, 10.5)], top: Offset(75.0, 8.0)),
DitherAnimalType.butterfly: ExprFace(
mouth: null,
brows: [(45.5, 26.6, 8.1), (54.5, 26.6, 8.1)],
top: Offset(68.5, 14.0)),
DitherAnimalType.snail: ExprFace(
mouth: null,
brows: [(74.0, 13.8, 8.6), (91.0, 13.8, 8.6)],
top: Offset(86.0, 8.0)),
DitherAnimalType.squirrel: ExprFace(
mouth: Offset(50.0, 64.0),
mouthHalf: 5.0,
mouthDrop: 2.2,
brows: [(36.0, 38.0, 10.0), (64.0, 38.0, 10.0)],
top: Offset(78.0, 27.0)),
DitherAnimalType.hippo: ExprFace(
mouth: null,
brows: [(32.0, 25.0, 10.0), (68.0, 25.0, 10.0)],
top: Offset(82.0, 15.0)),
DitherAnimalType.deer: ExprFace(
mouth: null,
brows: [(38.0, 43.0, 10.0), (62.0, 43.0, 10.0)],
top: Offset(76.0, 30.0)),
DitherAnimalType.parrot: ExprFace(
mouth: null,
brows: [(35.0, 24.0, 10.0), (65.0, 24.0, 10.0)],
top: Offset(79.0, 12.0)),
DitherAnimalType.kangaroo: ExprFace(
mouth: Offset(50.0, 51.0),
mouthHalf: 5.0,
mouthDrop: 2.2,
brows: [(40.0, 31.0, 9.0), (60.0, 31.0, 9.0)],
top: Offset(74.0, 18.0)),
DitherAnimalType.shark: ExprFace(
mouth: null, brows: [(22.0, 40.0, 9.0)], top: Offset(36.0, 28.0)),
DitherAnimalType.chicken: ExprFace(
mouth: null,
brows: [(37.0, 29.0, 9.0), (63.0, 29.0, 9.0)],
top: Offset(77.0, 17.0)),
DitherAnimalType.ladybug: ExprFace(
mouth: null,
brows: [(42.0, 22.0, 8.0), (58.0, 22.0, 8.0)],
top: Offset(72.0, 8.0)),
DitherAnimalType.wolf: ExprFace(
mouth: Offset(50.0, 70.0),
mouthHalf: 6.0,
mouthDrop: 2.6,
brows: [(35.0, 41.0, 11.0), (65.0, 41.0, 11.0)],
top: Offset(79.0, 28.0)),
DitherAnimalType.horse: ExprFace(
mouth: Offset(50.0, 81.0),
mouthHalf: 5.5,
mouthDrop: 2.2,
brows: [(37.0, 40.0, 11.0), (63.0, 40.0, 11.0)],
top: Offset(77.0, 28.0)),
DitherAnimalType.camel: ExprFace(
mouth: null,
brows: [(39.0, 41.0, 11.0), (61.0, 41.0, 11.0)],
top: Offset(75.0, 28.0)),
DitherAnimalType.rhino: ExprFace(
mouth: Offset(50.0, 78.0),
mouthHalf: 6.0,
mouthDrop: 2.4,
brows: [(30.0, 39.0, 11.0), (70.0, 39.0, 11.0)],
top: Offset(84.0, 27.0)),
DitherAnimalType.goat: ExprFace(
mouth: null,
brows: [(37.0, 39.0, 10.0), (63.0, 39.0, 10.0)],
top: Offset(77.0, 27.0)),
DitherAnimalType.seal: ExprFace(
mouth: Offset(50.0, 56.0),
mouthHalf: 5.0,
mouthDrop: 2.2,
brows: [(37.0, 33.0, 10.0), (63.0, 33.0, 10.0)],
top: Offset(77.0, 20.0)),
DitherAnimalType.bat: ExprFace(
mouth: null,
brows: [(43.0, 36.0, 8.0), (57.0, 36.0, 8.0)],
top: Offset(71.0, 23.0)),
DitherAnimalType.crocodile: ExprFace(
mouth: null,
brows: [(35.0, 20.0, 10.0), (65.0, 20.0, 10.0)],
top: Offset(79.0, 8.0)),
DitherAnimalType.jellyfish: ExprFace(
mouth: null,
brows: [(37.0, 37.0, 10.0), (63.0, 37.0, 10.0)],
top: Offset(77.0, 25.0)),
DitherAnimalType.peacock: ExprFace(
mouth: null,
brows: [(44.8, 34.0, 6.0), (55.2, 34.0, 6.0)],
top: Offset(69.2, 20.0)),
DitherAnimalType.redpanda: ExprFace(
mouth: Offset(50.0, 68.0),
mouthHalf: 4.5,
mouthDrop: 2.0,
brows: [(37.0, 38.8, 11.9), (63.0, 38.8, 11.9)],
top: Offset(77.0, 29.0)),
};