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="UTF-8"?> | |
<!-- | |
Demo InterfaCSS view definition file. | |
--> | |
<view id="demoRootView"> | |
<view id="demoHeaderView" class="headerView"> | |
<label id="demoHeaderLabel"/> |
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
/* | |
* Demo InterfaCSS stylesheet file. | |
* | |
* Read more about the stylesheet format here: https://github.com/tolo/InterfaCSS/wiki/Stylesheet-format | |
* Checkout this page for a reference on what properties can be set: https://github.com/tolo/InterfaCSS/wiki/Stylesheet-Property-Reference | |
* | |
* For a short selection of available properties that can be set, see bottom of file. | |
*/ | |
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="UTF-8"?> | |
<view id="rootView"> | |
<label id="helloAppleLabel1"/> | |
<label id="helloAppleLabel2"/> | |
<label id="helloAppleLabel3"/> | |
<label id="helloAppleLabel4"/> | |
<label id="helloAppleLabel5"/> | |
</view> |
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
@font1: Superclarendon-BoldItalic 12; | |
@font2: AvenirNextCondensed-Medium 26; | |
@font3: Futura-CondensedExtraBold 32; | |
@font4: GillSans-BoldItalic 38; | |
@font5: Menlo-Bold 46; | |
#rootView { | |
backgroundColor: gradient(#fafafa, #e0e0e0); |
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'; | |
void main() { | |
runApp(CounterApp()); | |
} | |
class CounterApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
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
// ignore_for_file: prefer_const_declarations | |
// ignore_for_file: prefer_const_constructors | |
// ignore_for_file: prefer_final_fields | |
// ignore_for_file: use_key_in_widget_constructors | |
// ignore_for_file: prefer_const_literals_to_create_immutables | |
// ignore_for_file: prefer_const_constructors_in_immutables | |
// ignore_for_file: avoid_print | |
import 'package:flutter/material.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'; | |
import 'dart:async'; | |
import 'dart:convert'; | |
// For DartPad: | |
import 'dart:html' as http; // Cannot use https://pub.dev/packages/http in DartPad... | |
// For mobile (and web): | |
//import 'package:http/http.dart' as http; |
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'; | |
void main() => runApp(SignUpApp()); | |
class SignUpApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
debugShowCheckedModeBanner: false, | |
routes: { |
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'; | |
import 'package:rxdart/rxdart.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(RxNumPadApp()); | |
} | |
OlderNewer