Skip to content

Instantly share code, notes, and snippets.

View jmagman's full-sized avatar

Jenn Magder jmagman

  • Google
View GitHub Profile
@jmagman
jmagman / AppDelegate.swift
Last active September 30, 2022 21:18
UIKit vs SwiftUI vs Flutter animation frame rate
// 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 UIKit
import SwiftUI
import Flutter
import SpriteKit
@main
@jmagman
jmagman / minimum_frame_duration_migration.dart
Created March 9, 2022 00:52
CADisableMinimumFrameDurationOnPhone Info.plist migration for https://github.com/flutter/flutter/pull/94509
// 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 '../../base/file_system.dart';
import '../../base/logger.dart';
import '../../base/project_migrator.dart';
import '../../xcode_project.dart';
// Add CADisableMinimumFrameDurationOnPhone to the Info.plist.
@jmagman
jmagman / main.dart
Created January 20, 2022 21:18
Cupertino Icons
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {