file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
lib/src/hover_builder.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/indexed_offset.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/link_button.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/list_button.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/list_view.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/listener_list.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/meter.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/navigator_listener.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/push_button.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/radio_button.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/rollup.dart | Dart | import 'dart:math' as math;
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'focus_indicator.dart';
const double _arrowWidth = 7;
class RollupController extends ChangeNotifier {
RollupController({bool isExpanded = false}) : _isExpanded = isExpanded;
bool _isExpanded;
bo... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/scroll_bar.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/scroll_pane.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/segment.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/set_baseline.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/sheet.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/sorting.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/span.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/spinner.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/split_pane.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/tab_pane.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/table_pane.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/table_view.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/text_input.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/visibility_aware.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
lib/src/widget_surveyor.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/activity_indicator_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/basic_list_view_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/border_pane_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/calendar_button_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/calendar_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/checkbox_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/colors_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/indexed_offset_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/list_button_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/list_view_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/radio_button_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/rollup_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/table_pane.test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/text_input_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
test/widget_surveyor_test.dart | Dart | // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not... | zanderso/chicago | 468 | The Chicago widget set for Flutter | Dart | zanderso | Zachary Anderson | Google |
bin/dash_commit_counts.dart | Dart | // Copyright 2025 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 'dart:async';
import 'dart:convert';
import 'dart:io' as io;
import 'package:args/args.dart';
import 'package:github/github.dart' as g;
// Add you... | zanderso/dash-commit-stats | 0 | Fetches data from GitHub and analyzes information about commits across projects. | Dart | zanderso | Zachary Anderson | Google |
bin/drt.dart | Dart | // 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:drt/script_runner.dart' as script_runner;
Future<void> main(List<String> arguments) async {
await script_runner.main(arguments);
}
| zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
examples/rainbow.dart | Dart | #!/usr/bin/env drt
// 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 'dart:io';
import 'package:chalkdart/chalk.dart';
void main() {
// Get the width and height of the terminal.
var width = st... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
examples/terminal_image.dart | Dart | #!/usr/bin/env drt
// 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 'dart:io' as io;
import 'dart:math';
import 'package:args/args.dart' as args;
import 'package:chalkdart/chalk.dart' as chalk;
im... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
examples/triangulate_image.dart | Dart | #!/usr/bin/env drt
// 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.
// This program creates a png file of a delaunay trianulation of a random set
// of points with colors taken from an input image.
//
// ... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
lib/script_runner.dart | Dart | // 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 'dart:io' as io show exitCode, stdout;
import 'package:args/args.dart';
import 'package:file/file.dart';
import 'package:file/local.dart';
import '... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
lib/src/dartsdk.dart | Dart | // 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 'dart:io' show Process, ProcessResult, ProcessStartMode;
import 'package:file/file.dart';
import 'package:platform/platform.dart';
import 'package:... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
lib/src/import_extractor.dart | Dart | // 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:analyzer/dart/analysis/features.dart';
import 'package:analyzer/dart/analysis/results.dart';
import 'package:analyzer/dart/analysis/utiliti... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
lib/src/package_config_generator.dart | Dart | // 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 'dart:io' show ProcessResult;
import 'package:file/file.dart';
import 'package:package_config/package_config.dart';
import 'package:platform/platfo... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/dartsdk_test.dart | Dart | // 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 'dart:io' as io;
import 'package:drt/script_runner.dart';
import 'package:file/memory.dart';
import 'package:platform/platform.dart';
import 'src/... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/import_extractor_test.dart | Dart | // 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:drt/script_runner.dart';
import 'package:file/memory.dart';
import 'src/test_wrapper.dart';
void main() {
group('PackageImportExtractor... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/integration_test.dart | Dart | // 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 'dart:convert';
import 'dart:io' as io;
import 'dart:isolate';
import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:p... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/package_config_generator_test.dart | Dart | // 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:drt/script_runner.dart';
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:platform/platform.dart';
impo... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/script_runner_test.dart | Dart | // 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:drt/script_runner.dart';
import 'package:file/memory.dart';
import 'package:platform/platform.dart';
import 'src/fake_process_manager.dart... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/scripts/echo_arguments.dart | Dart | // 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 'dart:io' as io;
import 'package:args/args.dart';
import 'package:path/path.dart' as path;
void main(List<String> arguments) {
final ArgParser a... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/scripts/echo_stdin.dart | Dart | // 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 'dart:io' as io;
void main(List<String> arguments) {
if (io.stdin.hasTerminal) {
io.stdin.lineMode = false;
io.stdin.echoMode = false;
... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/scripts/shebang.dart | Dart | #!/usr/bin/env drt
// 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.
void main() {
print('Hello, world!');
}
| zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/src/fake_process_manager.dart | Dart | // 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 'dart:async';
import 'dart:convert';
import 'dart:io' as io
show
Process,
ProcessResult,
ProcessSignal,
ProcessS... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
test/src/test_wrapper.dart | Dart | // 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:test/test.dart' hide isInstanceOf;
export 'package:test/test.dart' hide isInstanceOf;
/// A matcher that compares the type of the actual ... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
utils/install.dart | Dart | // 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 'dart:io' as io;
import 'dart:isolate';
import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:platform/platform.dart';... | zanderso/drt | 7 | A program that runs bare Dart scripts | Dart | zanderso | Zachary Anderson | Google |
bin/bloaty.dart | Dart | import "dart:io";
class Symbol {
String? name;
String? type;
int? shallowSize;
int? retainedSize;
List<Symbol> children = <Symbol>[];
Symbol compressTrivialPaths() {
for (var i = 0; i < children.length; i++) {
children[i] = children[i].compressTrivialPaths();
}
if ((type == "path") &&
... | zanderso/flutter_bloaty_action | 1 | Repo for testing github actions | Dart | zanderso | Zachary Anderson | Google |
lib/main.dart | Dart | // Copyright 2013 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.
// This is an example app showing how to load assets listed in the
// 'shader' section of the 'flutter' manifest in the pubspec.yaml file.
// A shader asse... | zanderso/fragment_shader_example | 26 | A simple example of animating a custom shader in a Flutter app | Dart | zanderso | Zachary Anderson | Google |
macos/Flutter/GeneratedPluginRegistrant.swift | Swift | //
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
}
| zanderso/fragment_shader_example | 26 | A simple example of animating a custom shader in a Flutter app | Dart | zanderso | Zachary Anderson | Google |
macos/Runner/AppDelegate.swift | Swift | import Cocoa
import FlutterMacOS
@main
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}
| zanderso/fragment_shader_example | 26 | A simple example of animating a custom shader in a Flutter app | Dart | zanderso | Zachary Anderson | Google |
macos/Runner/MainFlutterWindow.swift | Swift | import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGenerated... | zanderso/fragment_shader_example | 26 | A simple example of animating a custom shader in a Flutter app | Dart | zanderso | Zachary Anderson | Google |
test/widget_test.dart | Dart | // Copyright 2013 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_test/flutter_test.dart';
import 'package:fragment_shader_example/main.dart';
void main() {
testWidgets('Smoke test', (WidgetTes... | zanderso/fragment_shader_example | 26 | A simple example of animating a custom shader in a Flutter app | Dart | zanderso | Zachary Anderson | Google |
bin/main.dart | Dart | // 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.
// @dart=2.12
import 'package:args/args.dart';
import 'package:github/github.dart' as g;
import 'package:github_commit_notifier/github_commit_watcher.dart... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
bin/utils.dart | Dart | // 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 'dart:io' as io;
import 'package:http/http.dart' as http;
import 'package:http/io_client.dart' as http_io;
/// Open the given URL in the user's de... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
lib/github_commit_watcher.dart | Dart | // 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 'dart:async';
import 'package:github/github.dart' as g;
class GitCommitWatcher {
GitCommitWatcher(this.github) : _activityService = g.ActivitySe... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
lib/notifier.dart | Dart | // 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 'dart:io' as io show Platform;
import 'src/linux_notifier.dart';
import 'src/mac_notifier.dart';
import 'src/windows_notifier.dart';
abstract clas... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
lib/src/linux_notifier.dart | Dart | // 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 'dart:async';
import 'dart:io' as io;
import 'package:desktop_notifications/desktop_notifications.dart' as d;
import 'package:pedantic/pedantic.dar... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
lib/src/mac_notifier.dart | Dart | // 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 'dart:io' as io;
import '../notifier.dart';
class MacNotifier implements Notifier {
MacNotifier();
@override
Future<void> notify({
requ... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
lib/src/windows_notifier.dart | Dart | // 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 'dart:io' as io;
import 'package:path/path.dart' as path;
import '../notifier.dart';
class WindowsNotifier implements Notifier {
WindowsNotifie... | zanderso/github_commit_notifier | 3 | A command line program that generates desktop notifications on commits to specified GitHub repositories | Dart | zanderso | Zachary Anderson | Google |
example/example.dart | Dart | // 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 'dart:io';
import 'package:kmeans/kmeans.dart';
import '../test/utils/arff.dart';
Future<void> main() async {
// See example/letter.arff for an... | zanderso/kmeans.dart | 10 | A Dart library for k-means clustering | Dart | zanderso | Zachary Anderson | Google |
lib/kmeans.dart | Dart | // 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.
/// A Dart library for k-means calculations.
library kmeans;
export 'src/kmeans_base.dart';
| zanderso/kmeans.dart | 10 | A Dart library for k-means clustering | Dart | zanderso | Zachary Anderson | Google |
lib/src/kmeans_base.dart | Dart | // 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 'dart:math';
/// This class describes a clustering.
class Clusters {
Clusters(this.points, this.ignoredDims, this.clusters, this.means);
/// T... | zanderso/kmeans.dart | 10 | A Dart library for k-means clustering | Dart | zanderso | Zachary Anderson | Google |
test/kmeans_test.dart | Dart | // 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 'dart:io';
import 'dart:math';
import 'package:kmeans/kmeans.dart';
import 'package:test/test.dart';
import 'utils/arff.dart';
void main() {
te... | zanderso/kmeans.dart | 10 | A Dart library for k-means clustering | Dart | zanderso | Zachary Anderson | Google |
test/utils/arff.dart | Dart | // 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 'dart:convert';
import 'dart:io';
class ArffReader {
ArffReader.fromFile(File f) : _dataStream = f.openRead();
ArffReader.fromStream(this._dat... | zanderso/kmeans.dart | 10 | A Dart library for k-means clustering | Dart | zanderso | Zachary Anderson | Google |
android/app/build.gradle | Gradle | def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == ... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
android/app/src/main/kotlin/dev/flutter/spendy_rasters/MainActivity.kt | Kotlin | package dev.flutter.spendy_rasters
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
android/build.gradle | Gradle | buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
go... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
android/settings.gradle | Gradle | include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSd... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
ios/Runner/AppDelegate.swift | Swift | import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
return... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
ios/Runner/Runner-Bridging-Header.h | C/C++ Header | #import "GeneratedPluginRegistrant.h"
| zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
lib/main.dart | Dart | // Copyright 2013 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 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart' as svg;
const int kStarPoints = 48; // Number... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
macos/Flutter/GeneratedPluginRegistrant.swift | Swift | //
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
}
| zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
macos/Runner/AppDelegate.swift | Swift | import Cocoa
import FlutterMacOS
@NSApplicationMain
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
}
| zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
macos/Runner/MainFlutterWindow.swift | Swift | import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGenerated... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
test/widget_test.dart | Dart | // Copyright 2013 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.
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test pac... | zanderso/spendy_rasters | 2 | Experimental Flutter app for exploring expensive rasterization. | Dart | zanderso | Zachary Anderson | Google |
lib/bin.js | JavaScript | #!/usr/bin/env node
const {downloadAndPackageModule} = require('./index')
if (process.argv.length < 3) {
console.log('Usage: standmo [--bin] module[@version]...')
process.exit(2)
}
const fromBin = process.argv.includes('--bin')
for (const arg of process.argv.slice(2)) {
if (arg.startsWith('--'))
continue
... | zcbenz/stanmo | 2 | Generate standalone bundles for Node.js modules | JavaScript | zcbenz | Cheng | Apple |
lib/index.js | JavaScript | const fs = require('fs')
const path = require('path')
const execa = require('execa')
const useTmpDir = require('@m59/use-tmp-dir')
const terser = require('terser')
async function downloadAndPackageModule(name, options={fromBin: false}) {
await useTmpDir(async tempDir => {
await downloadModule(tempDir, name)
... | zcbenz/stanmo | 2 | Generate standalone bundles for Node.js modules | JavaScript | zcbenz | Cheng | Apple |
bin/sweet-sweet-opencode.js | JavaScript | #!/usr/bin/env node
/* eslint-disable no-console */
const fs = require("node:fs");
const os = require("node:os");
const path = require("node:path");
const readline = require("node:readline");
const { spawnSync } = require("node:child_process");
const BLOG_URL = "https://zeke.sikelianos.com/building-on-cloudflare/";
... | zeke/sweet-sweet-opencode | 19 | Script that sets up OpenCode for building apps on Cloudflare and Replicate | JavaScript | zeke | Zeke Sikelianos | replicate |
app/layout.tsx | TypeScript (TSX) | import "./ui/global.css";
import { Toaster } from "./ui/toaster";
export const metadata = {
title: "Next.js",
description: "Generated by Next.js",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>
{children}
<Toa... | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
app/lib/actions.ts | TypeScript | "use server";
import { Resend } from "resend";
import { VercelInviteUserEmail } from "../../emails/vercel-invite-user";
const resend = new Resend(process.env.RESEND_API_KEY);
type State = { error: string } | { data: string };
export async function send(prevState: State, formData: FormData) {
const email = formDat... | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
app/page.tsx | TypeScript (TSX) | "use client";
import clsx from "clsx";
import { useFormState, useFormStatus } from "react-dom";
import { send } from "./lib/actions";
import * as React from "react";
import { toast } from "sonner";
export default function Page() {
const [state, dispatch] = useFormState(send, undefined);
React.useEffect(() => {
... | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
app/ui/global.css | CSS | @tailwind base;
@tailwind components;
@tailwind utilities; | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
app/ui/toaster.tsx | TypeScript (TSX) | "use client";
import { Toaster as Sonner } from "sonner";
type ToasterProps = React.ComponentProps<typeof Sonner>;
const Toaster = ({ ...props }: ToasterProps) => {
return (
<Sonner
theme="dark"
className="toaster group"
toastOptions={{
classNames: {
toast:
"grou... | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
emails/vercel-invite-user.tsx | TypeScript (TSX) | import {
Body,
Button,
Container,
Column,
Head,
Heading,
Hr,
Html,
Img,
Link,
Preview,
Row,
Section,
Text,
Tailwind,
} from "@react-email/components";
import * as React from "react";
interface VercelInviteUserEmailProps {
username?: string;
userImage?: string;
invitedByUsername?: st... | zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend | |
next-env.d.ts | TypeScript | /// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
| zenorocha/vercel-resend-integration | 3 | TypeScript | zenorocha | Zeno Rocha | resend |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.