Step 1: Prepare the Pie Crust : Preheat oven to 375°F (190°C). In a medium bowl, combine flour, salt, and sugar. Cut in butter until mixture resembles coarse crumbs. Gradually add ice water until dough forms. Roll out dough and fit into a 9-inch pie pan. Trim edges. Prick bottom with a fork, line with parchment, fill with pie weights or beans, and bake 10–12 minutes until lightly golden. Let cool.
Step 2: Make the Banana Custard Filling : In a medium saucepan, whisk together sugar, cornstarch, and salt. Gradually add milk while whisking until smooth. Cook over medium heat until mixture thickens and bubbles. Whisk a small amount of hot mixture into egg yolks, then return to saucepan. Cook 1–2 more minutes, stirring constantly. Remove from heat. Stir in butter and vanilla until smooth. Let custard cool slightly.
Step 3: Assemble the Pie : Slice 1–2 bananas and layer them on the bottom of the cooled crust. Pour custard over the bananas. Chill pie in the refrigerator for at least 3 hours until set.
Step 4: Prepare Whipped Cream Topping : In a chilled bowl, beat heavy cream, powdered sugar, and vanilla until soft peaks form. Spread or pipe whipped cream over the chilled pie. Garnish with additional banana slices or chocolate shavings if desired.