This file contains hidden or 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
#version 120 | |
#ifdef GL_ARB_shading_language_420pack | |
#extension GL_ARB_shading_language_420pack : require | |
#endif | |
struct FragInfo | |
{ | |
vec2 texture_size; | |
vec2 blur_direction; | |
float blur_sigma; |
This file contains hidden or 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
diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart | |
index c815293abd..b5a0cb6e81 100644 | |
--- a/lib/ui/compositing.dart | |
+++ b/lib/ui/compositing.dart | |
@@ -18,25 +18,6 @@ class Scene extends NativeFieldWrapperClass1 { | |
@pragma('vm:entry-point') | |
Scene._(); | |
- /// Synchronously creates a handle to an image from this scene. | |
- /// |
This file contains hidden or 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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
debugDefaultTargetPlatformOverride = TargetPlatform.android; | |
runApp(MaterialApp( |
This file contains hidden or 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
diff --git a/packages/flutter/lib/src/material/page_transitions_theme.dart b/packages/flutter/lib/src/material/page_transitions_theme.dart | |
index d3ce7fe3ca..98ccdecf77 100644 | |
--- a/packages/flutter/lib/src/material/page_transitions_theme.dart | |
+++ b/packages/flutter/lib/src/material/page_transitions_theme.dart | |
@@ -564,7 +564,7 @@ class PageTransitionsTheme with Diagnosticable { | |
static const Map<TargetPlatform, PageTransitionsBuilder> _defaultBuilders = <TargetPlatform, PageTransitionsBuilder>{ | |
TargetPlatform.android: ZoomPageTransitionsBuilder(), | |
TargetPlatform.iOS: CupertinoPageTransitionsBuilder(), | |
- TargetPlatform.macOS: CupertinoPageTransitionsBuilder(), | |
+ TargetPlatform.macOS: ZoomPageTransitionsBuilder(), |
This file contains hidden or 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:ui' as ui show window; | |
import 'package:flutter/material.dart'; | |
void main() { | |
final binding = WidgetsFlutterBinding.ensureInitialized(); | |
ui.window.onPointerDataPacket = null; | |
var root = MediaQuery.fromWindow( | |
child: Directionality( | |
textDirection: TextDirection.ltr, |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
RenderView#92ec1 | |
│ debug mode enabled - Web | |
│ window size: Size(2400.0, 1372.0) (in physical pixels) | |
│ device pixel ratio: 2.0 (physical pixels per logical pixel) | |
│ configuration: Size(1200.0, 686.0) at 2.0x (in logical pixels) | |
│ | |
└─child: RenderSemanticsAnnotations#8f022 | |
│ needs compositing | |
│ creator: Semantics ← _FocusMarker ← Focus ← HeroControllerScope ← | |
│ ScrollConfiguration ← MaterialApp ← |
This file contains hidden or 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/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
import 'dart:typed_data'; | |
import 'package:flutter_test/flutter_test.dart'; | |
import 'package:vector_graphics/vector_graphics.dart'; | |
import 'package:vector_graphics_compiler/vector_graphics_compiler.dart'; |
This file contains hidden or 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 'dart:convert'; | |
import 'dart:io'; | |
import 'package:vm_service/vm_service_io.dart'; | |
void main() async { | |
var process = await Process.start('dart', ['run', '--enable-vm-service', 'lib/main.dart']); | |
var completer = Completer<String>(); | |
process.stdout | |
.transform(utf8.decoder) |
This file contains hidden or 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/scheduler.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:vector_graphics/vector_graphics.dart'; | |
import 'package:flutter_svg/flutter_svg.dart' as svg; | |
void main() { | |
runApp(const MyHomePage()); |
This file contains hidden or 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'; | |
void main() async { | |
String? callbacker(void Function(Object? arg) cb) { | |
cb(null); // indicates failure | |
} | |
Object? error; | |
try { | |
await _futurize(callbacker); | |
} catch (err) { |