I have the same problem with my almost 6yo son, for the last couple of months he has been a bit of a mare, culminating with getting a red card on the second day of year 1 for managing to hurt another boy "play fighting".
Coincidentally the other day I read a post on here really spelling out the whole "praise, praise, Praise" mantra, how you need to make 6 positive comments for every 1 negative, I have heard this before, but it didn't really seem realistic iyswim (wtf was I going to praise), but she explained that it created a virtuous circle (sorry random mner I can't remember your name).
I was pretty down about it all but thought I would give it a go, I started with setting out expectations and going overboard with praise for any bits that were met, I'm trying to be more positive in general, less shouting and nagging, really bigging them up, going totally overboard with praise, engaging with them more rather than just expecting them to comply.
I have to say, a week in it's bloody working, obviously it's early days yet, I'm not perfect, neither are they, but as a template to go by, I'm going to stick with it.
Try doing something she wants to do, then when she behaves well whilst doing it, praise her lots and lots, have chats about team work, make a joke of it when she ignores you initially (I have a magic key which makes ears work
).
Honestly my 3 have driven me to sobbing on the bus and basically wanting to chuck myself under it before now.