Skip to content

Conversation

HubHive
Copy link

@HubHive HubHive commented Jun 17, 2025

I would argue that having this property would and being able to do:

final permission = await PhotoManager.requestPermissionExtend();
if(permission.isLimted)

Rather than:

if(permission == PermissionState.limited)

return this == PermissionState.authorized || this == PermissionState.limited;
}

bool get isLimited {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the is naming. @CaiJingLong got any comment here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants