Skip to content

Instantly share code, notes, and snippets.

class LoginWidget extends StatefulWidget {
createState() => LoginWidgetState();
}
class LoginWidgetState extends State<LoginWidget> {
build() {
return Scaffold(
appBar: AppBar(
leading: IconButton(
onPressed: () => this.onGroupPressed(context),
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
filterString: '',
actions: {
print(){
console.log("filterString=", this.get('filterString'));
},
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>dates1</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>