Package-level declarations

Types

Link copied to clipboard
data class ImageIconModel(val imageVector: ImageVector, @StringRes val contentDescription: Int? = null, val onClick: () -> Unit, val isVisible: Boolean = true, val tint: Color? = null, val isEnable: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
const val GITHUB_LINK: String

Functions

Link copied to clipboard
fun AttachCompose(modifier: Modifier = Modifier, list: List<Attach>, onClick: (String) -> Unit)
Link copied to clipboard
fun AttachItems(modifier: Modifier = Modifier, model: Attach, onClick: (String) -> Unit)
Link copied to clipboard
fun BackToolbar(modifier: Modifier = Modifier, @StringRes title: Int = R.string.back, actions: @Composable RowScope.() -> Unit = {}, scrollBehavior: TopAppBarScrollBehavior? = null, onNavigationClick: () -> Unit = { })
fun BackToolbar(modifier: Modifier = Modifier, title: String = "", actions: @Composable RowScope.() -> Unit = {}, scrollBehavior: TopAppBarScrollBehavior? = null, onNavigationClick: () -> Unit = { })
Link copied to clipboard
Link copied to clipboard
fun calculateSize(size: Int): Dp
Link copied to clipboard
fun ChooseSemBottomSheet(modifier: Modifier = Modifier, model: CourseDetails, course: String = "BCA", sem: String = "3", onDismissRequest: () -> Unit = {}, onSaveClick: (Pair<String, String>) -> Unit = {})
Link copied to clipboard
fun ChooseSemBottomSheetScreen(modifier: Modifier = Modifier, model: CourseDetails, course: String = "BCA", sem: String = "3", onClick: (Pair<String, String>) -> Unit = { })
Link copied to clipboard
fun DevNote(modifier: Modifier = Modifier, onClick: () -> Unit = {})
Link copied to clipboard
fun EditText(modifier: Modifier = Modifier, value: String, placeholder: String, onValueChange: (String) -> Unit = {}, clearIconClick: () -> Unit = {}, isError: Boolean = false, errorMessage: String = "", supportingMessage: String = "", keyboardOptions: KeyboardOptions = KeyboardOptions.Default, focusRequester: FocusRequester? = null, enable: Boolean = true, colors: TextFieldColors = textFieldColors(), leadingIcon: @Composable () -> Unit? = { DefaultLeadingIcon(value) }, trailingIcon: @Composable () -> Unit? = { if (value.isNotBlank()) Icon(imageVector = Icons.Outlined.Clear, contentDescription = null, tint = MaterialTheme.colorScheme.primary, modifier = Modifier.clickable { clearIconClick() }) }, maxLines: Int = Int.MAX_VALUE, readOnly: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
@Preview(showBackground = true)
@Preview(showBackground = false, uiMode = 32)
@Preview(showBackground = false, uiMode = 32, wallpaper = 0)
@Preview(showBackground = false, uiMode = 32, wallpaper = 1)
@Preview(showBackground = false, wallpaper = 0)
@Preview(showBackground = false, wallpaper = 1)
fun EditTextPreview()
Link copied to clipboard
fun EmptyScreen(modifier: Modifier = Modifier)
Link copied to clipboard
fun EventItem(modifier: Modifier = Modifier, model: EventModel, getAttach: GetAttach? = null, onEventClick: (EventModel) -> Unit = {}, onClick: (String) -> Unit = {})
Link copied to clipboard
fun GlobalEmptyScreen(modifier: Modifier = Modifier, isEmpty: Boolean = true, emptyText: String = "Empty", content: @Composable () -> Unit = {})
Link copied to clipboard
fun GoogleButton(modifier: Modifier = Modifier, text: String = "Sign Up with Google", loadingText: String = "Creating Account...", icon: Int = R.drawable.ic_google_logo, shape: Shape = MaterialTheme.shapes.medium, borderColor: Color = MaterialTheme.colorScheme.dividerOrCardColor, backgroundColor: Color = MaterialTheme.colorScheme.surface, progressIndicatorColor: Color = MaterialTheme.colorScheme.primary, hasClick: Boolean = false, onClicked: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun ImageIconButton(modifier: Modifier = Modifier, iconModel: ImageIconModel, tint: Color = LocalContentColor.current)
fun ImageIconButton(modifier: Modifier = Modifier, @DrawableRes icon: Int, tint: Color = LocalContentColor.current, @StringRes contextDes: Int? = null, onClick: () -> Unit)
fun ImageIconButton(modifier: Modifier = Modifier, icon: ImageVector, tint: Color = LocalContentColor.current, @StringRes contextDes: Int? = null, onClick: () -> Unit = {}, isEnable: Boolean = true)
Link copied to clipboard
fun ImageLoader(modifier: Modifier = Modifier, imageUrl: String?, @DrawableRes errorImage: Int = R.drawable.ic_ayaan_beta, contentScale: ContentScale = ContentScale.Fit, isRounderCorner: Boolean = false, onError: () -> Unit = {})
Link copied to clipboard
fun ImageLoaderRounderCorner(modifier: Modifier = Modifier, imageUrl: String?, @DrawableRes errorImage: Int = R.drawable.ic_ayaan_beta, contentScale: ContentScale = ContentScale.Fit, isRounderCorner: Dp = 0.dp, onError: () -> Unit = {})
Link copied to clipboard
fun LottieAnim(modifier: Modifier = Modifier, @RawRes res: Int)
Link copied to clipboard
fun LottieAnimLink(modifier: Modifier = Modifier, link: String)
Link copied to clipboard
fun NavHeader(modifier: Modifier = Modifier, onClick: () -> Unit = {})
Link copied to clipboard
fun NetworkScreenEmptyScreen(modifier: Modifier = Modifier, text: String = "No Data Found")
Link copied to clipboard
fun NoticeItem(modifier: Modifier = Modifier, model: NoticeModel, onNoticeClick: (NoticeModel) -> Unit = {}, getAttach: GetAttach, onClick: (String) -> Unit)
Link copied to clipboard
fun PreferenceCard(modifier: Modifier = Modifier, title: String, description: String? = null, icon: ImageVector, endIcon: ImageVector? = null, onClick: () -> Unit = {}, endIconClick: () -> Unit? = null)
Link copied to clipboard
fun PreferenceItem(modifier: Modifier = Modifier, title: String, description: String? = null, icon: ImageVector? = null, enabled: Boolean = true, isChecked: Boolean = true, checkedIcon: ImageVector = Icons.Outlined.Check, onClick: () -> Unit = {})
Link copied to clipboard
fun PreferenceItemBorder(title: String, description: String? = null, icon: ImageVector? = null, enabled: Boolean = true, isSwitchEnabled: Boolean = enabled, isChecked: Boolean = true, checkedIcon: ImageVector = Icons.Outlined.Check, onClick: () -> Unit = {}, onChecked: () -> Unit = {})
Link copied to clipboard
fun LazyListScope.singleElement(key: Any? = null, content: @Composable LazyListScope.() -> Unit = { BottomPadding() }): LazyListScope
Link copied to clipboard
fun StateLoadingScreen(modifier: Modifier = Modifier, isLoading: Boolean = true, errorMessage: String = "No Data Found", isHasError: Boolean = false, fromNetWork: Boolean = true)
Link copied to clipboard
fun LazyListScope.stateLoadingScreen(modifier: Modifier = Modifier, isLoading: Boolean = true, errorMessage: String = "No Data Found", isHasError: Boolean = false, fromNetWork: Boolean = true): LazyListScope
Link copied to clipboard
Link copied to clipboard
fun Toolbar(modifier: Modifier = Modifier, @StringRes title: Int = R.string.app_name, navigationIcon: ImageVector? = null, actions: @Composable RowScope.() -> Unit = {}, onNavigationClick: () -> Unit = { }, scrollBehavior: TopAppBarScrollBehavior? = null)
fun Toolbar(modifier: Modifier = Modifier, title: String = "", navigationIcon: ImageVector? = null, actions: @Composable RowScope.() -> Unit = {}, onNavigationClick: () -> Unit = { }, scrollBehavior: TopAppBarScrollBehavior? = null)