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() => runZonedGuarded<void>( | |
| () => runApp(const App()), | |
| (error, stackTrace) => log('Top level exception $error'), | |
| ); | |
| class App extends StatelessWidget { | |
| const App({super.key}); | |
| @override | |
| Widget build(BuildContext context) => 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
| // Just example how to save screenshot | |
| import 'dart:io'; | |
| import 'package:path/path.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| import 'package:gallery_saver/gallery_saver.dart'; | |
| @override | |
| Future<void> saveScreenshot() async { |
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
| FROM jenkins | |
| USER root | |
| RUN apt-get update \ | |
| && apt-get install -y ruby python make openssl ca-certificates gcc g++\ | |
| && gem install sass | |
| # Install docker cli | |
| RUN curl -o docker.tgz https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz \ | |
| && tar -xvzf docker.tgz \ |