In a mixing bowl, combine flour and sugar. Add cold, cubed butter and rub in with your fingertips until the mixture resembles breadcrumbs.
Add the beaten egg and mix until the dough comes together. Press into a flan tin and bake for 15 minutes or until golden brown. Let it cool.
For the custard filling, heat milk and sugar in a saucepan until just boiling. In a separate bowl, whisk egg yolks and vanilla extract. Slowly pour the hot milk into the egg mixture, whisking constantly. Return to the saucepan and cook over low heat until thickened. Let it cool.
Pour the cooled custard into the flan base. Arrange the sliced fresh fruits on top. Chill in the fridge for at least 2 hours before serving.