'kivymd: Unknown class <IconLeftWidgetWithoutTouch>

I´m currently building up a kivymd navigation drawer with a MDList.
For my davigation drawer I want list items to have icons and text. Kivymd´s documentation therefore states two possible solutions:
kivymd list documentation

  1. IconLeftWidget: icon and widget are touchable
  2. IconLeftWidgetWithoutTouch: only widget at whole touchable

Kivymd.uix.list does provide the IconLeftWidget but obviously not IconLeftWidgetWithoutTouch
as I run into the error: Unknown class <IconLeftWidgetWithoutTouch>


Does anyone have more information on the availability of this statet feature IconLeftWidgetWithoutTouch ?
Or did anyone else encounter said error when trying to use this feature?

[Edit] I´m using the most recent packages:
Kivy 2.0.0
kivymd 0.104.2



Solution 1:[1]

Very late response to this, but the problem appears to be that you are running an old version of kivymd, which does not include the IconLeftWidgetWithoutTouch class (added in v1.0.0). The current "latest" version on pip is 0.104.2, but the "latest" version on the docs is 1.0.0.dev0.

You can install an up-to-date version from source as shown here:

If you want to install development version from master branch, you should specify link to zip archive:

pip install https://github.com/kivymd/KivyMD/archive/master.zip

Tip: Replace master.zip with <commit hash>.zip (eg 51b8ef0.zip) to download KivyMD from specific commit.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Command-Alt-Escape