The former Madrid and City defender stressed that renewal talks have progressed positively without any obstacles for either party.
Discussing his ambition to finish his career at his boyhood club, Danilo added: "We have spoken very calmly. Both sides share the desire to move forward, to put together another beautiful year, and a year where I can truly say 'this is the last year of my career' and finish at the club of my heart, in a project I believed in and that has been working.
"I don't think there are any obstacles preventing this from happening, and hopefully in 2027 we can be together, finish my career at Flamengo, and, God willing, win a major trophy - that would be wonderful."