selectComposableType

Selects a ComposableType based on the provided ViewData.

This method iterates through the iconFrameList, leftFrameList, titleFrameList, and widgetFrameList in that order. For each list, it checks if the given viewData satisfies all the constraints defined in any of its ComposableFrame objects.

The first ComposableFrame whose constraints are met by the viewData will determine the ComposableType to be returned.

If no ComposableFrame in any of the lists matches the viewData, this method returns null.

Return

The selected ComposableType, or null if no suitable type is found.

Parameters

viewData

The ViewData for which to select a ComposableType.