A Walmart store has been accused of refusing to bake a cake decorated with the 'police officer's flag' because workers said it was 'racist'.

The store in McDonough, Georgia, about 30 miles southeast of Atlanta, allegedly refused to make the Blue Lives Matter cake on Friday for a retirement party.

'My buddy's sister went to Walmart in McDonough, GA to have a cake made for their father's retirement party,' Taylor Wilkies, a police officer from Georgia, wrote on Facebook.

'She asked Walmart to make a "thin blue line" cake to commemorate his extensive and honorable service as a dedicated police officer.

A Walmart store has been accused of refusing to bake a cake decorated with the 'police officer's flag' because workers said it was 'racist', and then offered this cake (pictured) as a replacement

'Walmart refused to honor her request due to it being "racist". To me, this is appalling.

'People CHOOSE to make EVERYTHING about race. I'm so tired of it. It's literally exhausting for me to think about now.

The claim was then picked up by conservative Fox News host Todd Starnes who wrote about the alleged incident.

Starnes says he spoke to the daughter of the police officer on Saturday night, however he does not include any details of the family or the woman.

He wrote that the daughter said: 'I was so shocked... One of the bakers told me the design could be perceived as racist and nobody feels comfortable decorating the cake.'

Starnes claims the woman told him she was 'disappointed'.

'I just wanted to make my dad a cake to show how much i appreciated him,' the unidentified woman said, according to Starnes.

The Fox News host then goes on to say the workers were told to make the cake after complaints were made to the store's manager, but they still allegedly refused.

A Georgia police officer shared the story of her 'buddy's sister' being denied the cake and it quickly went viral on Facebook

The Walmart store in McDonough, Georgia, about 30 miles southeast of Atlanta, allegedly refused to make the cake on Friday for a retirement party on Sunday

'The manager offered to make and decorate a new cake. But there was just one problem — the cake decorators refused to comply,' he claims.

'I’ve attached photographs of Walmart’s handiwork — it’s absolutely embarrassing and unacceptable.

'Walmart needs to make this right and they can start by delivering a professionally decorated cake to the police officer’s family.

'The three cake decorators need to be told: either decorate the cake or be fired.'

Since Starnes tweeted the story, the Walmart alleged of refusing to make the cake has been flooded with criticism.

'Why do you not hold your employees to the job requirements they agreed to, decorate cakes? Fire them or as a Patron I'd worry you would poison the cake or other food I might purchase there because your employees hate cops,' Lisa Victoria angrily wrote.

Other people refuted the story, claiming the store told them the accusations were made up

'Shame on you walmart!!!!! Hopefully you will take action upon your bakery department,' Erik Fowler said.

However another person claims the store's manager told them the allegations were false.

'She was very polite, was familiar with the story, and denied that any of this was true,' David Sauls said.

'I asked her if I wanted to have the bakery decorate a cake depicting the thin blue line would they do it, and she said that they would be more than glad to, that it's ridiculous for anyone to make this claim, and that she doesn't understand why someone would make it.