.edgesIgnoringSafeArea() and ignoresSafeArea()

Hi guys. The question is kinda odd. But anyway, why did we get the method changed if it brings no new functionality ?
I mean I don't mind, I am just wondering.

I don’t know the actual motivation, but I’ll point out this quote from the API Design Guidelines.

Omit needless words. Every word in a name should convey salient information at the use site.
More words may be needed to clarify intent or disambiguate meaning, but those that are redundant with information the reader already possesses should be omitted. In particular, omit words that merely repeat type information.

1 Like

Changes to just a function/method name are pretty common. I've done it several times in my libraries.

I'll definitely read API Design Guidelines in the near future.
Thanks for the quotation.

1 Like
Terms of Service

Privacy Policy

Cookie Policy