Skip to content

Explore the world of passports for Jetpack Compose

Notifications You must be signed in to change notification settings

ridvanozcan/PassportLib

 
 

Repository files navigation

PassportLib

Explore the world of passports for Jetpack Compose

Its primary purpose is to display the passport of a selected country when users choose the name of a country.

Last Lib Version

1.0.0

Usage

    val selectedCountry = remember { mutableStateOf(Country.TURKEY) }

    PassportLib(
        modifier = Modifier
            .background(Color.White)
            .fillMaxWidth()
            .padding(horizontal = 16.dp, vertical = 8.dp),
        onClicked = { selectedCountry.value = it },
    )

Download

material3 is required.

Groovy

settings.gradle

maven { url 'https://jitpack.io' }

build.gradle

implementation 'androidx.compose.material3:material3:1.1.0'
implementation 'com.github.ridvanozcan:PassportLib:<latest-version>'
Kotlin DSL

settings.gradle

maven(url = "https://jitpack.io")

build.gradle

implementation("androidx.compose.material3:material3:1.1.0")
implementation("com.github.ridvan:PassportLib:<latest-version>")

License

Copyright 2023 tfaki.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Explore the world of passports for Jetpack Compose

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 98.4%
  • Other 1.6%