Section

constructor(state: Section.State<T>, headerContent: @Composable SectionContentScope.() -> Unit? = null, headerVisibleStates: Section.VisibleStates = ALL_STATES, loadingContent: @Composable SectionContentScope.() -> Unit? = null, loadingContentCount: Int = DEFAULT_LOADING_CONTENT_COUNT, loadedContent: @Composable SectionContentScope.(T) -> Unit? = null, failedContent: @Composable SectionContentScope.() -> Unit? = null, emptyContent: @Composable SectionContentScope.() -> Unit? = null, footerContent: @Composable SectionContentScope.() -> Unit? = null, footerVisibleStates: Section.VisibleStates = LOADED_STATE_ONLY)