-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Currently the plugin template uses platform channels as the cross-platform API, including web. We should change it to use a platform interface internally, just as we would for a federated plugin; there's no reason that platform interfaces need federation, and adding it would:
- make it clearer that platform channels don't have to be the cross-platform interface
- demonstrate a better pattern for web
- make it clearer how to, e.g., use FFI for one implementation
- be more consistent with the eventual federated template, so the two templates are more similar.
/cc @ditman
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight