Add the dependency on Android’s Material in /android/app/build.gradle:
dependencies { // ... implementation 'com.google.android.material:material:<version>' // ...
}
To find out the latest version, visit Google Maven.