This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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'; | |
/* ====================================================== */ | |
/* Widgets */ | |
/* ====================================================== */ | |
import 'package:travel_pal/screens/splash/widgets/splash_button_widget.dart'; | |
/* ====================================================== */ | |
/* Implementation */ |
This file contains 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 _buildHeader() { | |
return Padding( | |
padding: const EdgeInsets.symmetric(vertical: 80.0, horizontal: 24.0), | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
Text( | |
'Explore', | |
style: TextStyle(fontSize: 24.0, fontWeight: FontWeight.w600), |
This file contains 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
name: travel_pal | |
description: A new Flutter project. | |
version: 1.0.0+1 | |
environment: | |
sdk: '>=2.0.0-dev.68.0 <3.0.0' | |
dependencies: | |
flutter: |
This file contains 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 _buildBackground() { | |
return new Image.asset( | |
'images/background-splash.png', | |
fit: BoxFit.fitHeight, | |
height: double.infinity, | |
); | |
} |
This file contains 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'; | |
/* ====================================================== */ | |
/* Widgets */ | |
/* ====================================================== */ | |
import 'package:travel_pal/screens/splash/widgets/splash_button_widget.dart'; | |
/* ====================================================== */ | |
/* Implementation */ |
This file contains 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'; | |
/* ====================================================== */ | |
/* Screens */ | |
/* ====================================================== */ | |
import 'package:travel_pal/screens/splash/splash_screen.dart'; | |
/* ====================================================== */ | |
/* Implementation */ | |
/* ====================================================== */ |