Maui provides a default style template for FlyoutItem. You need to set it up based on this template.
This template can be used for as a basis for making alterations to the existing flyout layout, and also shows the visual states that are implemented for flyout items.
Please refer to the following document.