A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$
if your browser aliases it:
~ 108 byte version
class GradientText extends StatelessWidget { | |
const GradientText(this.text, { | |
Key key, | |
@required this.gradient, | |
this.style = const TextStyle(), | |
}) : super(key: key); | |
final String text; | |
final TextStyle style; | |
final Gradient gradient; |
Place the supervisord.conf under .ebextensions/supervisor/
Place the supervisor.config under .ebextensions/
Place the data_import_consumer.conf under .ebextensions/supervisor/
// BLOC | |
class ErrorBloc extends Bloc<ErrorBlocEvent, ErrorBlocState> { | |
@override | |
Stream<ClaimState> mapEventToState(ErrorBlocState currentState, ErrorBlocEvent event) async* { | |
if (event is SomeEvent) { | |
yield Processing(); | |
final result = await _doSomething(); | |
if(result.success) { | |
yield Success(); |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/scheduler.dart'; | |
void main() => runApp(ExampleApp()); | |
class ExampleApp extends StatelessWidget { | |
@override |
export class StreamMixer { | |
streams: Array<{ | |
id: string, | |
audioSource: any, | |
gainNode: any, | |
mediaStream: MediaStream | |
}>; | |
destination: any; | |
audioCtx: any; |