I am using MaterialDrawer library and I trying to change the hamburger icon.
I found this answer in here.
but I cannot understand from the answer how to use the toggle variable over there and it doesn't seems to work for me.
is there any way of changing it then?
As per the documentation of the library you are using you can switch between hamburger-icon to back-arrow icon with the following code snippet: