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
| child: Column( | |
| children: <Widget>[ | |
| Flexible( | |
| flex: 4, | |
| child: new Column( | |
| children: <Widget>[ | |
| // Your children .. | |
| ], | |
| ), | |
| ), |
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'; | |
| /// Navigator.of(context).push(FadeRoute( | |
| /// builder: (context) { | |
| /// return NewPage(); | |
| /// } | |
| /// )); | |
| class FadeRoute extends PageRoute { | |
| FadeRoute({@required this.builder}); |
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'; | |
| import 'package:meta/meta.dart'; | |
| class Task { | |
| Task(this.done, this.text); | |
| final String text; | |
| final bool done; | |
| } |
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/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/foundation.dart' | |
| show debugDefaultTargetPlatformOverride; | |
| class TodoModel { | |
| String title; |
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/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/foundation.dart' | |
| show debugDefaultTargetPlatformOverride; | |
| class TodoModel { | |
| String title; |
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/rendering.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| class MyCenter extends SingleChildRenderObjectWidget { | |
| MyCenter({Key key, Widget child}): super(key: key, child: child); |
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
| #!/bin/bash | |
| # The last argument is the command to be executed on the remote end, which is something | |
| # like "git-upload-pack 'webfactory/ssh-agent.git'". We need the repo path only, so we | |
| # loop over this last argument to get the last part of if. | |
| for last in ${!#}; do :; done | |
| "I STARTED RUNNING" >> /home/runner/work/log.txt | |
| $last >> /home/runner/work/log.txt |
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:html'; | |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'dart:js'; | |
| import 'dart:ui' as ui; | |
| Widget buildShowcaseWidget(BuildContext context) { | |
| // TODO return an instance of your widget here | |
| // Once your done, hit run and 'Screenshot & Publish' |
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
| /* | |
| Problem statement: | |
| Coming up with an easy to use and understand architecture, where the naming of 'things' makes inherent sense. | |
| My basic architecture: | |
| top_level: |
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
| Norbert Kozsir | |
| Funkerstraße 33 | |
| 7762276137 Karlsruhe | |
| Germany | |
| Contact: kozsir.norbert(at)gmail.com |