This file contains hidden or 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() { | |
| var hexes =[0xFF01020304, | |
| 0xFFfa1abaea, | |
| 0xFF659112cc, | |
| 0xFFad3097c6, | |
| 0xFFe735ea1f, |
This file contains hidden or 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
| Widget method2() { | |
| return Column( | |
| children: <Widget>[ | |
| Text('You can put other Widgets here'), | |
| ...order.selectedMenuItems.map((item) => Text(item.menuItem.description)).toList(), | |
| ], | |
| ); | |
| } |
This file contains hidden or 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 'dart:async'; | |
| import 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| import 'dart:js_util' as js_util; | |
| import 'dart:ui' as ui; | |
| import 'dart:html'; | |
| typedef void CurrentLocation(double lat, double lng); | |
| typedef void MapCallback(); |
This file contains hidden or 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
| void main() { | |
| const int flagOffset = 0x1F1E6; | |
| const int asciiOffset = 0x41; | |
| final codeToCountryEmoji = (code) { | |
| final char1 = code.codeUnitAt(0) - asciiOffset + flagOffset; | |
| final char2 = code.codeUnitAt(1) - asciiOffset + flagOffset; | |
| return String.fromCharCode(char1) + String.fromCharCode(char2); | |
| }; |
This file contains hidden or 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(MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { | |
| @override | |
| _MyAppState createState() => new _MyAppState(); |
This file contains hidden or 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
| package ie.cit.cloudapp; | |
| import java.io.IOException; | |
| import javax.servlet.RequestDispatcher; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletRequestWrapper; | |
| import javax.servlet.http.HttpServletResponse; |