Flagellin is the subunit protein which polymerizes to form the filaments of bacterial flagella. FlaB is not essential for flagellar synthesis and motility. Heteromer of multiple flagellin subunits including FlaA, FlaB, FlaC, FlaD and possibly FlaE. Belongs to the bacterial flagellin family.