In order for agvtool to work properly you must first set
Project Settings / Build Settings / Versioning / Versioning System to Apple Generic.
- Create new shared scheme 'Bump Build Number'
| //example function body | |
| Map<String, dynamic> fields = { | |
| "data": filedValue, | |
| }; | |
| var request = http.MultipartRequest( | |
| "POST", Uri.parse('url'), | |
| ); | |
| request.files.add( |
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:html/dom.dart'; | |
| import 'package:html/parser.dart' as parser; | |
| import 'html_color.dart' as htmlColor; | |
| // TODO Add tag handler | |
| // TODO Add GestureRecognizer for a tag | |
| InlineSpan parse(String html, TextStyle style) { |
| #! /bin/bash | |
| # | |
| # build-xnu-6153.11.26.sh | |
| # Scott Knight | |
| # | |
| # Based on the script by Brandon Azad | |
| # https://gist.github.com/bazad/654959120a423b226dc564073b435453 | |
| # | |
| # A script showing how to build XNU version 6153.11.26 on macOS Catalina | |
| # 10.15 with Xcode 11.13.1. |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| theme: ThemeData( | |
| primarySwatch: Colors.blue, |
In order for agvtool to work properly you must first set
Project Settings / Build Settings / Versioning / Versioning System to Apple Generic.
| /// Dart is built around a timer, which basically schedules functions in a queue. | |
| /// The Future class is essentially just sugar on top of the event loop. | |
| /// To help people understand what the event loop actually does, I have written code which implements the event loop. | |
| /// See https://www.dartlang.org/articles/event-loop/ for more information. | |
| import "dart:async"; | |
| class EventLoop { | |
| /// Function Queue. | |
| static final List<Function> queue = []; |