ComposeMaterial3Flags


The object holding the feature flags.

Developers can enable or disable experimental or migration-based features by modifying the boolean values within this object. These flags are considered temporary. They are expected to be removed and should not be relied upon as permanent configuration.

Usage:

class MyApplication : Application() {
override fun onCreate() {
ComposeMaterial3Flags.someFeatureEnabled = true
super.onCreate()
}
}

Summary

Public properties

Boolean

When this flag is true and a precision pointer is present, components are resized accordingly

Cmn

Public properties

isPrecisionPointerComponentSizingEnabled

var isPrecisionPointerComponentSizingEnabledBoolean

When this flag is true and a precision pointer is present, components are resized accordingly