View culinary-video-streaming.as
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
<?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
<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
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
// 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
// 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
// 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
// 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 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 { |