Flyback diodes are pretty much about two issues - the amount of power they have to remove and how quickly they have to remove it.
In general, you don't really have to worry too much about either of these issues with a small toy motor. I use simple rectifier diodes as they are cheap and everywhere. In some cases, you may see examples using smaller and faster signal diodes. They can work as well with toy motors. It is only when you start using big motors that you might have to re-evaluate your diode selection.
I might add that the same pretty much applies to flyback diodes on relays. Small relays can use pretty much anything.
These type of diodes are usually rated by peak voltage and peak amp. Rectifier diodes are intended for 120 cycles per second or less, while signal diodes are intended to handle much higher frequencies of on and off. In real practice, the toy motor on an L298 is so undemanding that you usually won't blow up a diode if it can at least handle the voltage rating.