Preheat oven to 350°F (175°C). Grease two 9-inch round cake pans and line bottoms with parchment paper.
Whisk flour, baking powder, baking soda, and 1/2 teaspoon salt in a large bowl.
Beat softened butter and sugar in a mixer until fluffy; beat in coconut milk and coconut extract.
Gradually add flour mixture on low speed until just combined; fold in whipped egg whites gently.
Divide batter between prepared pans; bake 28 to 30 minutes until toothpick inserted in center comes out clean.
Cool completely on wire racks; frost between layers and outside with cream cheese frosting.
Press sweet shredded coconut flakes gently over the entire frosted surface of the cake.