View culinary-video-streaming.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var swfPath:String = insecureHost+"/media/campaign/videoplayer/player_283x213.swf"; | |
//swfPath = "player_283x213.swf"; | |
_global.insecureHost = insecureHost; | |
var xmlPath:String = _global.insecureHost+"/img/campaign/cc/xml/chefvideo.xml"; | |
//var xmlPath = "chefvideo.xml"; | |
//var url1:String = "http://macys.edgeboss.net/flash/macys/cc/4513_rick768.flv"; | |
//var url0:String = "http://macys.edgeboss.net/flash/macys/cc/4513_tom768.flv"; | |
View believe-o-meter.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="iso-8859-1"?> | |
<home> | |
<believemeter> | |
<title><![CDATA[ ]]></title> | |
<explanation> | |
<![CDATA[ ]]> | |
</explanation> | |
<believeLevels> | |
<!-- these dates are inclusive, so specifying 11/07/2008-11/08/2008 will mean that amount will be in effect for both the 7th and 8th of November --> | |
<level amt="10" dateRange="11/06/2008-11/09/2008" /> |
View quizData.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<quiz> | |
<question> | |
<q> What year was the 19th Amendment to the Constitution ratified, guaranteeing American women citizens the right to vote? It was quietly signed into law in a ceremony to which the press and suffragists were not invited. </q> | |
<answer>1910</answer> | |
<answer>1935</answer> | |
<answer>1920</answer> | |
<correct>3</correct> | |
</question> | |
<question> |
View FlexibleCustomMultiChildLayout.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
// This example is adapted from https://stackoverflow.com/questions/51304568/ | |
class ScaffoldContextError extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Unbounded Viewport Error', | |
theme: ThemeData( |
View BoxConstraintsVisualizationDemo.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Question from https://stackoverflow.com/questions/41727553/ | |
//Box Constraints Visualization - no text clipping issues/errors | |
// to be visualized in Flutter Wiget inspector | |
import 'package:flutter/material.dart'; | |
class TextClippingError extends StatelessWidget { | |
@override |
View renderflex_overflow_error_flexible.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for Flutter Inspector layout tools: visualizing render overflow solutions | |
// This example is adapted from | |
//https://github.com/InMatrix/flutter_error_studies/blob/master/lib/renderflex_overflow_error2.dart | |
import 'package:flutter/material.dart'; | |
class ColumnOverflow extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( |
View renderflex_overflow_error_expanded.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for Flutter Inspector layout tools: visualizing render overflow solutions | |
// This example is adapted from | |
//https://github.com/InMatrix/flutter_error_studies/blob/master/lib/renderflex_overflow_error2.dart | |
import 'package:flutter/material.dart'; | |
class ColumnOverflow extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
View renderflex_overflow_CustomMultiChild.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for Flutter Inspector layout tools: visualizing render overflow solutions | |
// This example is adapted from SO "How to use CustomMultiChildLayout & CustomSingleChildLayout in Flutter" | |
//https://stackoverflow.com/questions/59483051/how-to-use-custommultichildlayout-customsinglechildlayout-in-flutter/59483482#59483482 | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(ColumnOverflow()); |
View main.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This version of the code gives exposure to another tricky layout issue. | |
// There is no blantant render overflow issue using the CustomMultiChild | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(RenderOverflowResolution()); | |
} | |
class RenderOverflowResolution extends StatelessWidget { |