lohanidamodar / lohanidamodar/flutter_builders

getting error while launching

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

lib/main.dart:2:8: Error: Error when reading 'lib/example.dart': The system cannot find the file specified.

import 'package:flutter_to_wed/example.dart' as example;
^
lib/main.dart:28:13: Error: Method not found: 'GeneratedWidget'.
body: example.GeneratedWidget(),
^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

* Where:
Script 'D:\Applications\Flutter_src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\Applications\Flutter_src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 48s
Exception: Gradle task assembleDebug failed with exit code 1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with lib/main.dart and the referenced lib/example.dart path, then inspect how this repository generates Flutter widgets from JSON. Confirm why example.dart and GeneratedWidget are unavailable; done means the example builds without the reported missing-file and unresolved-method errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.