INSTEAD of peanut M&Ms, think Tumbador’s PB&J chocolate bar, handmade in Sunset Park. Instead of Häagen-Dazs, think Blue Marble ice cream. Instead of Tostitos, think Baked in Brooklyn Flatbread Crisps. This is the new Barclays Center, home of the Brooklyn Nets, with food about as local as stadium fare gets.

After 10 tumultuous years, including a protracted legal battle, the arena will open Friday for the first of eight sold-out Jay-Z concerts. (The first regular-season Nets game, against the Knicks, is Nov. 1.) The building will offer the products of 37 Brooklyn restaurateurs and food purveyors in its concession stands, suites and restaurants.

There will be foie gras and hand-sliced ham for the big spenders, and even “caviar for Mr. Prokhorov,” said one chef, referring to Mikhail Prokhorov, the Russian billionaire and Nets majority owner. There will be pickles, pretzels and black-and-white cookies for non-billionaires.

The food, branded Brooklyn Taste, is just one way the developer Bruce Ratner and his team plan to capitalize on the borough’s rich food culture. There is talk of offering Brooklyn Taste cooking classes and a cookbook.