This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Copied from https://github.com/flutter/flutter/issues/33988#issuecomment-600748507 | |
/// Steps to reproduce: | |
/// 1. Move the map location, bool value keeps changing. | |
/// 2. Tap on the container anywhere. | |
/// 3. Now again move the map. | |
/// 4. bool value does not change.(onCameraIdle() not working). | |
/// Occurs on google_maps_flutter:0.5.27 | |
import 'package:flutter/material.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(RtlBrokenApp()); | |
class RtlBrokenApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: Padding( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
void main() { | |
group('RiverpodFutureProviders', () { | |
// this fails - async is returned | |
testWidgets('Future.value works', (tester) async { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:analyzer/dart/ast/ast.dart'; | |
import 'package:analyzer/dart/element/type.dart'; | |
import 'package:analyzer/error/error.dart'; | |
import 'package:analyzer/error/listener.dart'; | |
import 'package:analyzer/source/source_range.dart'; | |
import 'package:custom_lint_builder/custom_lint_builder.dart'; | |
class PreferTimestampsToLocalDateTimes extends DartLintRule { | |
PreferTimestampsToLocalDateTimes() : super(code: _code); |
OlderNewer