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
| --- TLP 1.4.0 -------------------------------------------- | |
| +++ Configured Settings: | |
| /etc/tlp.d/20-troubleshoot.conf L0001: TLP_ENABLE="1" | |
| defaults.conf L0005: TLP_WARN_LEVEL="3" | |
| defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0" | |
| defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0" | |
| defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2" | |
| defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15" | |
| defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60" |
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
| const List<String> urls = [ | |
| 'https://github.com/flutter/flutter.git', // full HTTPS url with .git | |
| 'https://github.com/flutter/flutter', // same as above without .git | |
| 'https://githubmirror.com/flutter/flutter.git', // different domain | |
| 'https://githubmirror.com/flutter/flutter', // different domain without .git | |
| 'http://github.com/flutter/flutter', // http instead of https | |
| 'http://www.github.com/flutter/flutter.git', // same as before with www at beginning and .git at end | |
| 'https://www.githubmirror.com/flutter', // differnt domain, different path | |
| 'https://githubmirror.com/flutter.git', // differnt domain, different path with .git | |
| '[email protected]:flutter/flutter', // ssh url without .git |
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 StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
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:math' as math; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { |
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
| var r = math.Random(412); |
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:math' as math; |
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
| class _BodyState extends State<Body>{ | |
| int _dice = 0; | |
| @override | |
| Widget build(BuildContext context){ | |
| return Column( | |
| children: <Widget>[ | |
| Image.asset( | |
| './assets/dice_1.png', | |
| height: 300, | |
| width: 300, |
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
| class _BodyState extends State<Body>{ | |
| @override | |
| Widget build(BuildContext context){ | |
| return Column( | |
| children: <Widget>[ | |
| //TODO: Define 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
| class _BodyState extends State<Body>{ | |
| int _dice = 0; | |
| @override | |
| Widget build(BuildContext context){ | |
| ... |
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
| assets: | |
| - assets/dice_1.png | |
| - assets/dice_2.png | |
| - assets/dice_3.png | |
| - assets/dice_4.png | |
| - assets/dice_5.png | |
| - assets/dice_6.png | |
| - assets/empty_dice.png |
NewerOlder