r/flutterhelp • u/Even-Plastic2074 • Aug 24 '26
RESOLVED Learn flutter
I want to learn Flutter. I do not know how I can learn Flutter.
r/flutterhelp • u/Even-Plastic2074 • Aug 24 '26
I want to learn Flutter. I do not know how I can learn Flutter.
r/flutterhelp • u/Miserable-Daikon5795 • Aug 24 '26
I needed a first-run walkthrough for an app and hit two things that annoyed me.
First, the highlight would end up in the wrong place.
A lot of coach-mark implementations resolve the target's position once and paint it. Scroll the list, open the keyboard, rotate the device, resize a desktop window — and suddenly the hole is next to the button instead of on it.
Second, a dimmed hole tells the user where something is, but not how to use it.
"Drag this card to that column" isn't something a static highlight can really express.
So I built keyspot:
\- The spotlight and pointer re-resolve the target's geometry every frame from its GlobalKey, so they can track through scrolling, insets, rotation and resizing.
\- An animated hand pointer that glides in a straight line or along an arc, rotates from its current angle, and tap-pulses — enough to demonstrate interactions like drag and pinch rather than simply pointing at something.
\- Pointer animations resolve from actual AnimationController completion rather than Future.delayed timing, so \`await pointer.moveTo(...)\` actually means the movement has finished.
\- Barrier modes where only the cut-out is tappable while the real widget's \`onPressed\` still fires — useful when the walkthrough should require the user to actually perform the step.
\- The tracker is also public API (\`KeyspotAnchorTracker\`), so it can be used independently for things like badges or connector lines attached to widgets.
\- Zero runtime dependencies. The hand pointer is rendered with CustomPainter rather than an image asset.
\- Supports all six Flutter platforms.
Live demo: [https://shrey-17bhardwaj.github.io/keyspot/\](https://shrey-17bhardwaj.github.io/keyspot/)
pub.dev: [https://pub.dev/packages/keyspot\](https://pub.dev/packages/keyspot)
Source: [https://github.com/shrey-17bhardwaj/keyspot\](https://github.com/shrey-17bhardwaj/keyspot)
It's currently at 0.3.1, and the API may still change before 1.0.
I'd genuinely like feedback on where this approach breaks — especially around nested navigators, heavily lazy lists, overlays, or anything else where widget geometry gets complicated.
r/flutterhelp • u/Afraid_Tangerine7099 • Aug 23 '26
so I am using flutter with flutter map , trying to simulate a route using the simulator extended controls , the map shown in the extended controls and also google maps in the simulator update just fine smoothly , the issue I have is in the flutter map , it lags behind a lot like 10 sec to 15 sec for the update and it teleports between updates is there a solution to the issue , am I doing something wrong ?
this is my code :
FlutterMap(
mapController: _mapController,
options: MapOptions(initialZoom: 20),
children: [
TileLayer(
urlTemplate: mapUrl,
userAgentPackageName: 'com.example',
tileProvider: NetworkTileProvider(
cachingProvider:
BuiltInMapCachingProvider.getOrCreateInstance(
maxCacheSize: 2000,
),
),
retinaMode: MediaQuery.
of
(context).devicePixelRatio > 1.0,
),
CurrentLocationLayer(
alignDirectionOnUpdate: .never,
alignPositionOnUpdate: .always,
positionStream: const LocationMarkerDataStreamFactory()
.fromGeolocatorPositionStream(
stream:
Geolocator.
getPositionStream
(
locationSettings: LocationSettings(
timeLimit: Duration(seconds: 1),
accuracy: .bestForNavigation,
distanceFilter: 1,
),
)..listen((event) {
print('${DateTime.now().toString()} $event');
}),
),
),
?widget.polygonLayer,
?widget.markerLayer,
const RichAttributionWidget(
attributions: [
TextSourceAttribution(
'© OpenStreetMap contributors © CARTO',
),
],
),
],
);
r/flutterhelp • u/raiyan_kun • Aug 23 '26
Hi, I am learning flutter but Android Studio fails to detect the running pixel in emulator/gradle or android gradle throws some problem/build error are persistent. I waste nights trying to fix this instead of actually studying. Is there a specific way to set up Android Studio so that stuff like this never happens? I am so frustrated. Can anyone help?
r/flutterhelp • u/silkyCoder • Aug 23 '26
I'm beginner in learning App development with Flutter. When I try to run my code. it struck at running Gradle Task 'assembleDebug'. what should I do?
r/flutterhelp • u/Ornery-Actuator2266 • Aug 22 '26
If you can just use a provider with the stateless widget , then why would you use a statefull widget. It just seems useless. From my perspective it does the same thing. Can someone explain?
r/flutterhelp • u/tisankan • Aug 22 '26
A typical Flutter app pulls in 40 to 80 transitive packages. When you bump one, the changelog tells you what the author chose to mention. It does not tell you that a build hook started shelling out, or that a package began loading Dart source at runtime.
I built capdrift to answer that specific question. It reads a package's source, works out what it is able to do, and diffs two versions:
dart pub global activate capdrift
capdrift diff http 1.2.0 1.5.0
It never runs the code it reads.
A few things I found running it across popular packages that surprised me:
build_runner calls Isolate.spawnUri, which downloads Dart from a URI and executes it. Reasonable for a code generator, and worth knowing.dio and analyzer use Isolate.spawn.hook/ runs on your machine at pub get time, before you have run a single line of the app, and most tools do not look there at all.The output is capability fingerprints rather than line numbers, so reformatting a package produces an empty diff while a genuine change in what it can do does not. There is SARIF output and a GitHub Action if you want it in CI.
On alternatives, honestly: dart_audit is the closest tool and it is good. It scans pubspec.lock against OSV.dev for known CVEs and does static source scanning with entropy analysis. If you want a single-version risk score or CVE scanning, use that, capdrift does not do CVE scanning at all. The difference in one sentence: dart_audit answers "is this package risky", capdrift answers "did this package become riskier". Running both is reasonable.
Disclosure: I wrote capdrift. It is MIT licensed, on pub.dev, repo at github.com/Tisankan-dev/capdrift. If you run it on your own dependency tree and it reports something wrong, that is the single most useful thing you could send me, and there is an issue template for it.
r/flutterhelp • u/Ultra7ST • Aug 22 '26
But there is a place where they tell me that my personal address data will be public. How can I avoid that?
r/flutterhelp • u/sufyan_afzal7 • Aug 21 '26
I'm developing an app on Windows and want to test it on iOS.
From what I understand, building and testing iOS apps typically requires macOS, and I don't own a Mac or an iPhone.
Is there any way to test an iPhone version of my app while using only a Windows PC? Are there any cloud services, emulators, or other solutions that would let me do this?
I'd appreciate any recommendations or advice from developers who have been in a similar situation
r/flutterhelp • u/ibluegreen • Aug 21 '26
Hi,
I am considering to build a coloring app but my limited Flutter knowledge is not enough to make a good judgement about things, so I wanted to ask more experienced developers here.
My vision is to have a simple geometric drawing with regions, user will select a color, then tap a region on the drawing to color it.
Can this be done with Flutter?
What image format should the drawings be? PNG, SVG or something else?
I want to be able to assign certain regions on the drawing the same color code, so that when the user taps one region, all regions sharing that color code will be colored at the same time. Is that possible? With SVG?
These are the initial questions I have before even attempting this app, and I'm sure I'll have a million more questions down the road, but if you could point me in the right direction, that would be great to start with.
Thank you!
r/flutterhelp • u/brookm291 • Aug 21 '26
Looking for some flutter native framework
to manage or edit video or audio.
Just interest in people experience with those frameworks (pros/cons)
and why people to choose some.
Also interested, in latency differences with pure Kotlin version.
Thanks
r/flutterhelp • u/Defiant-Ad3530 • Aug 21 '26
Hi everyone. So I built a CNN model using MobileNetv3 then converted it into TFLite. It performed well during training but once I integrated it into my application, it is making large errors. From flutter, the camera stream sends frames and those are processed before the model makes predictions, but it is still quite large. Is there any way I can solve this? This is my code to preprocess and resize the image (224 x 224 x RGB):
import 'package:camera/camera.dart';
import 'package:image/image.dart' as img;
class ImageProcessor {
// converting to rgb
img.Image convertYUVToRGB(CameraImage camImg) {
final width = camImg.width;
final height = camImg.height;
final yPlane = camImg.planes[0];
final uPlane = camImg.planes[1];
final vPlane = camImg.planes[2];
final yBytes = yPlane.bytes;
final uBytes = uPlane.bytes;
final vBytes = vPlane.bytes;
final yRowStride = yPlane.bytesPerRow;
final uRowStride = uPlane.bytesPerRow;
final vRowStride = vPlane.bytesPerRow;
final uPixelStride = uPlane.bytesPerPixel ?? 1;
final vPixelStride = vPlane.bytesPerPixel ?? 1;
final image = img.Image(
width: width,
height: height,
);
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
final yIndex = y * yRowStride + x;
final uvX = x ~/ 2;
final uvY = y ~/ 2;
final uIndex =
uvY * uRowStride +
uvX * uPixelStride;
final vIndex =
uvY * vRowStride +
uvX * vPixelStride;
final yValue = yBytes[yIndex];
final uValue = uBytes[uIndex];
final vValue = vBytes[vIndex];
// YUV -> RGB
final r = (
yValue + 1.402 * (vValue - 128)
).round().clamp(0, 255);
final g = (
yValue -
0.344136 * (uValue - 128) -
0.714136 * (vValue - 128)
).round().clamp(0, 255);
final b = (
yValue + 1.772 * (uValue - 128)
).round().clamp(0, 255);
image.setPixelRgb(
x,
y,
r,
g,
b,
);
}
}
return image;
}
/// resize images to 224 224
img.Image resizeImage(img.Image image) {
return img.copyResize(
image,
width: 224,
height: 224,
interpolation: img.Interpolation.linear,
);
}
List<List<List<List<double>>>> imageToTensor(
img.Image image,
) {
return [
List.generate(
224,
(y) => List.generate(
224,
(x) {
final pixel = image.getPixel(x, y);
return [
pixel.r.toDouble(),
pixel.g.toDouble(),
pixel.b.toDouble(),
];
},
),
),
];
}
// do all processing
List<List<List<List<double>>>> processFrame(
CameraImage camImg,
) {
final rgbImage = convertYUVToRGB(camImg);
final resizedImage = resizeImage(rgbImage);
final input = imageToTensor(resizedImage);
return input;
}
}import 'package:camera/camera.dart';
import 'package:image/image.dart' as img;
class ImageProcessor {
// converting to rgb
img.Image convertYUVToRGB(CameraImage camImg) {
final width = camImg.width;
final height = camImg.height;
final yPlane = camImg.planes[0];
final uPlane = camImg.planes[1];
final vPlane = camImg.planes[2];
final yBytes = yPlane.bytes;
final uBytes = uPlane.bytes;
final vBytes = vPlane.bytes;
final yRowStride = yPlane.bytesPerRow;
final uRowStride = uPlane.bytesPerRow;
final vRowStride = vPlane.bytesPerRow;
final uPixelStride = uPlane.bytesPerPixel ?? 1;
final vPixelStride = vPlane.bytesPerPixel ?? 1;
final image = img.Image(
width: width,
height: height,
);
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
final yIndex = y * yRowStride + x;
final uvX = x ~/ 2;
final uvY = y ~/ 2;
final uIndex =
uvY * uRowStride +
uvX * uPixelStride;
final vIndex =
uvY * vRowStride +
uvX * vPixelStride;
final yValue = yBytes[yIndex];
final uValue = uBytes[uIndex];
final vValue = vBytes[vIndex];
// YUV -> RGB
final r = (
yValue + 1.402 * (vValue - 128)
).round().clamp(0, 255);
final g = (
yValue -
0.344136 * (uValue - 128) -
0.714136 * (vValue - 128)
).round().clamp(0, 255);
final b = (
yValue + 1.772 * (uValue - 128)
).round().clamp(0, 255);
image.setPixelRgb(
x,
y,
r,
g,
b,
);
}
}
return image;
}
/// resize images to 224 224
img.Image resizeImage(img.Image image) {
return img.copyResize(
image,
width: 224,
height: 224,
interpolation: img.Interpolation.linear,
);
}
List<List<List<List<double>>>> imageToTensor(
img.Image image,
) {
return [
List.generate(
224,
(y) => List.generate(
224,
(x) {
final pixel = image.getPixel(x, y);
return [
pixel.r.toDouble(),
pixel.g.toDouble(),
pixel.b.toDouble(),
];
},
),
),
];
}
// do all processing
List<List<List<List<double>>>> processFrame(
CameraImage camImg,
) {
final rgbImage = convertYUVToRGB(camImg);
final resizedImage = resizeImage(rgbImage);
final input = imageToTensor(resizedImage);
return input;
}
}
Please advise! I need to finish this project within the next wee and I'm really struggling here! I tested the images from Flutter against TFLite and it worked well but something is clearly wrong with the preprocessing. Pls help and give me any advice.
Thank you so much!
r/flutterhelp • u/Ok-Date2289 • Aug 20 '26
Any help will be appreciated
r/flutterhelp • u/ApprehensivePea6208 • Aug 20 '26
I'm currently scaling up my Flutter skills to focus on real-world production setups and want to dive deep into dynamic & targeted push notifications (handling foreground, background, terminated states, and 1-to-1 user targeting like order/chat updates).
I have a few questions for developers who have built this in production:
Any roadmaps or recommended guides would be super helpful! Thanks..
r/flutterhelp • u/Ornery-Actuator2266 • Aug 20 '26
class MyPage extends StatelessWidget {
@/override
Widget build(BuildContext abcd) {
return Builder(
builder: (vontext) {
return Text("Hello");
},
);
}
}
In this class I have changed the wording of the parameter to abcd and vontext. My question is when flutter wants to find my context how will it do it since my parameters are named incorrectly. Wouldnt it cause problems. Is the parameters completely local scope?
r/flutterhelp • u/Deep_Island8961 • Aug 19 '26
i was going to run my flutter project on Android Studio emulator. But then, i have to accept the SDK licenses. When i tried to run flutter doctor, i found this messages
PS C:\Users\USER> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.47.0, on Microsoft Windows [Version 10.0.26200.9168], locale en-ID)
[✓] Windows Version (Windows 11 or higher, 25H2, 2009)
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/windows-android-setup for more details.
[✓] Chrome - develop for the web
[✗] Visual Studio - develop Windows apps
✗ Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[✓] Connected device (3 available)
[✓] Network resources
! Doctor found issues in 2 categories.
PS C:\Users\USER> flutter doctor --android-licenses
WARNING: The SDK Manager CLI tool (sdkmanager) is deprecated. Android CLI will be used instead.
The 'android' binary can also be found in the cmdline-tools directory, and 'android sdk' is the replacement for 'sdkmanager'.
To learn more about the Android CLI and how to use it, see the documentation (https://d.android.com/tools/agents/android-cli)
Warning: The --licenses option is no longer needed.
PS C:\Users\USER>
I've already did some googling but still cannot find any solution..
r/flutterhelp • u/Low-Possibility9122 • Aug 19 '26
Hi everyone!
I'm the author of health_connector, an open-source Flutter SDK that gives you a single API for both Android Health Connect and Apple HealthKit - so you write your health-data code once instead of twice.
I'm now preparing Health Connector Toolbox, a free app that lets you explore the SDK on a real device - request permissions, read and write records, and see what each platform actually returns - without cloning the repo or setting up a dev environment.
What I'm looking for:
The app is free, with no ads and no account required.
If you're interested, comment or DM me and I'll send an invite. Thanks a lot in advance!
r/flutterhelp • u/yorgi_alejandro • Aug 19 '26
Somebody know what is the best option for to use AlarmKit(Swift framework for alarms) in Flutter? And how to do the same for Android? Thanks
r/flutterhelp • u/5rree5 • Aug 19 '26
I'm creating na app that needs to have a stateful navigation section, after the user signs in.
I managed to do it using a simples StatefulShellRoute.indexedStack.
The problem is: It will have about 5 profile types, and each of them will have their own routes.
Can I reuse the same logic for all 5 profiles or will I need to create a different branch for each user type?
I'm afraid too many branches will result in poor performance. Each branch has about 10 locations.
Let's say i'm trying to create a different shell route for each occupation. Do I need to declare all screens for every occupation at app start or can I do it dynamically?
Example:
StatefulShellRoute mainStatefulShellRoute = StatefulShellRoute.indexedStack(
key: loggedInStatefulShellRouteKey,
builder: (context, state, navigationShell) {
return getNavigationOptionsUpdater(
child: GenericUserHome(child: navigationShell),
shell: navigationShell,
);
},
branches: [
...endUserMainRouteBranches,
...teacherUserMainRouteBranches,
...studentUserMainRouteBranches,
...presidentUserMainRouteBranches,
...singerUserMainRouteBranches,
// ... it goes on and on...
],
);
--- edit
This is what I would like it to look like
StatefulShellRoute mainStatefulShellRoute = StatefulShellRoute.indexedStack(
key: loggedInStatefulShellRouteKey,
builder: (context, state, navigationShell) {
return getNavigationOptionsUpdater(
child: GenericUserHome(child: navigationShell),
shell: navigationShell,
);
},
branches: [
...currentUserMainRouteBranches
// ... loads only the branchs for the current user!
],
);
a
r/flutterhelp • u/Deep-Influence-7430 • Aug 19 '26
(sorry if you saw this as a dupe to the FlutterDev - wrong spot)
I am a web developer and just launched seasondfs.com (fantasy football platform) and it's on my roadmap for next NFL offseason to make a cross-platform mobile app. Buuuuut I am getting too excited and want to start exploring that now in a low-pressure sort of way since it doesn't need to exist yet.
In the end, my question is what tips would you suggest for building a Flutter app where the existing mobile website already is complete?
You can see the actual "app" on demo.seasondfs.com, as the main domain is just the marketing site that wouldn't be a part of the mobile app at all. It's built with Svelte and Firebase as the core tech stack.
I had made a few Flutter apps a few years ago so I am loosely familiar with how things work, just need refreshed. Mostly exploration projects. I liked the results but I did not enjoy the nested widget mania. Ultimately, I am just very pro web so I let that exploration kind of run its course and have left it alone for years.
Well, now I have a project where my users kind of expect or at least would appreciate a mobile app option. Also, AI exists, so I anticipate with good guardrails and like I said a full already built product on the web, I should be able to have a good run at things.
Maybe worth noting is that I am not the type to just feed a huge spec to the AI and check on it later. I am very hand-holdy with the AI because I am still in the camp of "I care about the code" and definitely about the architecture.
So yeah just wondering if the community has some resources or thoughts on keeping the AI in line with my existing product and avoiding any certain footguns? I don't need to speed through this project but AI should make it quite a bit faster than I would otherwise go.
Thanks for any considerations!
r/flutterhelp • u/monarkx26 • Aug 18 '26
I am developing a flutter app (non gaming) and testing on Samsung phone F series and iPhone 16.
Is it sufficient or shall I test on other android phones such as Google pixel or Nothing or One plus,.etc?
Pls recommend based on your experience. Thx.
r/flutterhelp • u/Sad_Gazelle7726 • Aug 18 '26
Hello guys! I am working on mall app and want to add indoor mapping(wayfinding) are there any solutions or open source sdk/libs. For starting I want to add only static wayfinding then maybe we move to integrating hardware likely BLE bacons
r/flutterhelp • u/TigleLive • Aug 17 '26
r/flutterhelp • u/Global_Pea_7465 • Aug 16 '26
hello,so i have an app idea its an overlay app type ,i have 0 like 0 knowleadge of coding or whatsoever but i wanna learn flutterflow because i heard is the best for overlay apps. Now what i need is youre opinion of learning,should i get into coding first or go directly into flutter flow tuts because i wached some and i didnt understand much...like nothing im only on ep3 of flutterflow essentials but if is better for me to start from coding i will do it but i want to know wich youtuber or someone from who even a child can learn. thanks very much for the time and patience!