All the module resources have a module prefix.
On build.gradle file add the following lines to accomplish this rule with the module name
android {
resourcePrefix 'module_name'
}
KEY | EN | ES | CA | TAGS | COMMENTS |
---|---|---|---|---|---|
// Core | |||||
core_accept | Accept | Aceptar | D'acord | android,ios,core | - |
core_cancel | Cancel | Cancelar | Cancel·lar | android,ios,core | - |
core_ok | OK | OK | OK | ios,core | - |
// Login | |||||
login_email_hint | Enter your email | Introduce tu email | Introdueix el teu email | android,ios,login | - |
autoCorrect: true | |
test-pattern: # Configure exclusions for test sources | |
active: true | |
patterns: # Test file regexes | |
- '.*/test/.*' | |
- '.*Test.kt' | |
- '.*Spec.kt' | |
exclude-rule-sets: | |
- 'comments' |
Using https://dartpad.dartlang.org/
void main() {
// Strings
var name = "Jane";
import android.view.ViewConfiguration | |
import androidx.compose.animation.core.Animatable | |
import androidx.compose.animation.core.tween | |
import androidx.compose.foundation.ScrollState | |
import androidx.compose.foundation.gestures.Orientation | |
import androidx.compose.foundation.horizontalScroll | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.padding |