Skip to content

Instantly share code, notes, and snippets.

Look through the thread to see where the issue left off.
Author provided additional sample code with instructions to replicate the issue.
Tested on the latest version of stable since this issue is pre-flutter 2.0.
- reported behavior by Author is exhibited
Switched to beta channel to confirm is behavior exists on that channel (since that was the channel the user was on)
- reported behavior by Author is exhibited
Author provided the following information:
- concise title
- concise description
- reproducible steps
- flutter doctor
Author is on latest stable version of flutter.
Next step is to test the code sample.
Author appears to be on an old version of flutter.
Request author to upgrade to the latest version of flutter to confirm if the behavior still exists.
If it does, request the author to provide a minimal complete reproducible code sample.
Test code sample to confirm behaviour.
Read through the thread to see where the issue last left off.
- A PR was filed for the issue but was not merged.
However, there's a chance someone else implemented the fix and got it merged.
Next step is to reproduce the issue.
- Since this issue was file before flutter 2.0, if it were fixed, it wouldn't exist on flutter 2.0
- First test with stable branch on android and ios
- Issue still exists
- Switch to master branch
- Issue still exists
Author of issue didn't provide any information for this issue
- no title
- no description
- the issue is the just the flutter bug template
Issue can be closed as the Author can always create a new Issue when they are ready to file an issue.
@danagbemava
danagbemava / qr_rep_code.dart
Created March 10, 2021 14:04
Reproducible error for qr code
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:qr_code_scanner/qr_code_scanner.dart';
void main() {
runApp(MyApp());
}
import 'package:flutter/material.dart';
import 'package:get_it/get_it.dart';
import 'package:shared_preferences/shared_preferences.dart';
GetIt sl = GetIt.I;
Future<void> setupLocators() async {
final SharedPreferences pref = await SharedPreferences.getInstance();
sl.registerSingleton<SharedPreferencesService>(
import 'package:bloc/bloc.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:rnm_graphql/blocs/home/home.dart';
import 'package:rnm_graphql/blocs/simple_delegate.dart';
import 'package:rnm_graphql/screens/home_screen.dart';
void main() {
BlocSupervisor.delegate = MySimpleBlocDelegate();
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:rnm_graphql/blocs/home/home.dart';
class HomeScreen extends StatefulWidget {
HomeScreen({Key key}) : super(key: key);
@override
_HomeScreenState createState() => _HomeScreenState();
}
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:rnm_graphql/blocs/home/home.dart';
import 'package:rnm_graphql/services/graphql_service.dart';
class HomeBloc extends Bloc<HomeEvents, HomeStates> {
GraphQLService service;
HomeBloc() {
service = GraphQLService();
}