It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| class MyClass { | |
| static final MyClass _singleton = new MyClass._internal(); | |
| factory MyClass() { | |
| return _singleton; | |
| } | |
| MyClass._internal() { | |
| ... // initialization logic here | |
| } |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| import 'package:flutter/material.dart'; | |
| @immutable | |
| class ClipShadowPath extends StatelessWidget { | |
| final Shadow shadow; | |
| final CustomClipper<Path> clipper; | |
| final Widget child; | |
| ClipShadowPath({ | |
| @required this.shadow, |
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:flutter/widgets.dart' hide PageView; | |
| /// This is copy-pasted from the Flutter framework with a support added for building | |
| /// pages off screen using [Viewport.cacheExtents] and a [LayoutBuilder] | |
| /// | |
| /// Based on commit 3932ffb1cd5dfa0c3891c60977ee4f9cd70ade66 on channel dev | |
| // Having this global (mutable) page controller is a bit of a hack. We need it |
This is the full Cloud Functions code explained in my blog post: How to schedule a Cloud Function to run in the future (in order to build a Firestore document TTL)
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| import 'package:flutter_svg/flutter_svg.dart'; | |
| import 'package:xml/xml.dart'; | |
| import 'package:flutter/services.dart'; | |
| /// An example widget which uses an [SvgOverride] widget to render an SVG with dynamic colors. | |
| class ZenButtonCookie extends StatelessWidget { | |
| final CookieColor color; // My internal color object. Adapt this for your needs. | |
| const ZenButtonCookie(this.color); |
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| /// A mixin to perform context dependent function when the widget loads. | |
| mixin FirstLoad<T extends StatefulWidget> on State<T> { | |
| bool _hasLoaded = false; | |
| bool get isFirstLoad => !_hasLoaded; | |
| /// Calls the given callback on the first load only. | |
| /// This should NOT be called in [initState] as the UI will not have rendered it. |
| import 'package:flutter/material.dart'; | |
| import './animation_mixins.dart'; // See my other gist for this | |
| // Ímplicitly animates an int to the given value. | |
| class AnimatedInt extends StatelessWidget { | |
| final int value; | |
| final Duration duration; // milliseconds | |
| final TextStyle style; | |
| AnimatedInt({ | |
| @required this.value, |
| import 'package:flutter/material.dart'; | |
| import './animation_mixins.dart'; // See my other gist for this | |
| /// A scrollable horizontal list which animates into place on load. | |
| class ListPicker extends StatefulWidget { | |
| final List<Widget> children; | |
| final double paddingX, paddingY; | |
| const ListPicker({ | |
| this.children, | |
| this.paddingX = 12.0, |
| import 'dart:typed_data'; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| // Note: [ui.Image] represents the lower level image data while [Image] represents a renderable image. | |
| /// Provides the ability to take screenshots of specific widgets. | |
| mixin Screenshot<T extends StatefulWidget> on State<T> { |