Skip to content

Instantly share code, notes, and snippets.


Kristen McWilliam Merrit

View GitHub Profile
Merrit / main.dart
Created Jun 1, 2021
Focus traversal testing
View main.dart
import 'package:flutter/material.dart';
void main() {
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
Merrit / provider_route_example.dart
Created Apr 20, 2021
Provider new route example
View provider_route_example.dart
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
void main() {
class App extends StatelessWidget {
Widget build(BuildContext context) {
View gist:6676b5d47a3c5bdb5eb7d83dee3beddc
Building without sound null safety
For more information see
Building Windows application...
PS C:\Users\Merritt\Dev\myapp> flutter run -v -d windows
[ +76 ms] executing: [C:\tools\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +54 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] f8cd24de95b16b5a1ce6ebc0716154271fbf6252
[ ] executing: [C:\tools\flutter/] git tag --points-at f8cd24de95b16b5a1ce6ebc0716154271fbf6252
# Launch Steam with steam-native & workaround for power suppression bug
xdg-dbus-proxy "$DBUS_SESSION_BUS_ADDRESS" "$XDG_RUNTIME_DIR/steam-bus-proxy" --filter --call="org.freedesktop.DBus.*=*" --call="org.freedesktop.IBus.*=*" --call="org.freedesktop.portal.*=*" --call="com.feralinteractive.GameMode.*=*" --call="com.canonical.*=*" --broadcast="*=*" --call="org.kde.*=*" --call="org.gtk.*=*" steam-native
View vkBasalt.conf
#effects is a colon seperated list of effect to use
#e.g.: effects = fxaa:cas
#effects will be run in order from left to right
#one effect can be run multiple times e.g. smaa:smaa:cas
#cas - Contrast Adaptive Sharpening
#fxaa - Fast Approximate Anti-Aliasing
#smaa - Enhanced Subpixel Morphological Antialiasing
#deband - Effects against banding artefacts
#lut - color LookUp Table
effects = colourfulness
View rockPaperScissors.js
// Rock, Paper, Scissors - Challenge
let userChoice = 'Rock';
function computerChoice() {
let number = Math.round((Math.random() * 3) + 1);
if (number < 1) {