[nativeapi_flutter]: does not reexport `Size` type
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
The report names lib/src/foundation/geometry.dart in the nativeapi package as where its Size type is defined, and the fix is to make it reachable from the public package:nativeapi/nativeapi.dart entry point. Start by checking which files that barrel library exports and whether the geometry file is among them. Reproduce with a small Flutter app that imports Size from nativeapi next to Flutter's Size. Done when the import compiles and the type mismatch no longer appears.
Written by the indexing model from the issue text.
Description
Which leads to:
A value of type 'Size (where Size is defined in /home/xxx/develop/flutter/bin/cache/pkg/sky_engine/lib/ui/geometry.dart)' can't be assigned to a variable of type 'Size (where Size is defined in /home/xxx/.pub-cache/hosted/pub.dev/nativeapi-0.5.7/lib/src/foundation/geometry.dart)'. (Documentation)
Fix:
add nativeapi as dependency
Add the following import:
import 'package:nativeapi/nativeapi.dart' show Size;
- Dominant language
- TypeScript
- Stars
- 170
- Forks
- 15
- Avg merge
- 58m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libnativeapi/nativeapi
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
libnativeapi/nativeapi#22 ·
All issues in libnativeapi/nativeapi
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DSpace/dspace-angular#6511 ·
Maintainers usually reply within 1 day
-
area: frontend area:byok bug severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Phone app shows Unknown for a remote machine whose key changedPossibly taken @janicduplessis claimed this today. Openarea: mobile priority: P3 type: bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
appandflow/stim#5006 · 1 comment ·
Maintainers usually reply within 1 day
-
Area - Local to Cloud Bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
microsoft/vscode-mssql#23209 ·
Maintainers usually reply within 1 day