elias chen

@eliaschen-dev

Joined on Dec 22, 2024

  • compose sp (match the user font preference) For Text dp (match the user screen pixel 1dp=1px) For Non-Text Color = Color.Blue or using HEX code color = Color(0xFF[hex-code]) To use the by keyword in compose to import: import androidx.compose.runtime.getValue import androidx.compose.runtime.setValue Manually ReCompose
     Like 2 Bookmark
  • flutter dash Cheat Sheet ?? if value of the left is null than return the vlaue from the rightEX: A ?? false if A is null than return false final A value that can be assigned only once ListWheelScrollView.useDelegat Container( height: 100, width: 100,
     Like  Bookmark
  • image Tip/Shortcut Description Basic Editing & Navigation Parameter Info Ctrl + P (or Cmd + P on Mac) to view parameters for a method/constructor
     Like  Bookmark
  • Kotlin_Mascot Cheat Sheet Random number from 0 to 200​​​​(0..200).random() Random UUID​​​​UUID.randomUUID().toString() Hash the content​​​​title.hashCode().toString() padLeft​​​​val seconds:String = "9"
     Like  Bookmark