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 RoutePaths { | |
| static const String Login = 'login'; | |
| static const String Register = 'register'; | |
| static const String Home = '/'; | |
| static const String EditNote = 'note'; | |
| } |
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:client/paths.dart'; | |
| import 'package:client/ui/pages/home.page.dart'; | |
| import 'package:client/ui/pages/login.page.dart'; | |
| import 'package:client/ui/pages/register.page.dart'; | |
| import 'package:flutter_web/material.dart'; | |
| class Router { | |
| static Route<dynamic> generateRoute(RouteSettings settings) { | |
| switch (settings.name) { | |
| case RoutePaths.Home: |
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:client/paths.dart'; | |
| import 'package:client/provider-setup.dart'; | |
| import 'package:client/ui/pages/home.page.dart'; | |
| import 'package:client/ui/router.dart'; | |
| import 'package:flutter_web/cupertino.dart'; | |
| import 'package:flutter_web/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| void main() => runApp(MyApp()); |
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
| function Get-ScriptDirectory | |
| { | |
| Split-Path $MyInvocation.ScriptName | |
| } | |
| Write-Host "Startup Server..." | |
| $ServerFolder = Join-Path -Path (get-item (Get-ScriptDirectory)).Parent.FullName -ChildPath "server"; | |
| Start-Process powershell -ArgumentList "aqueduct serve" -WorkingDirectory $ServerFolder; | |
| Write-Host "Started Client,..." |
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
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - development | |
| - master | |
| jobs: | |
| test: |
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
| <!-- makes no sense for my structure --> | |
| <div> | |
| <div></div> | |
| <section></section> | |
| </div> |
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
| >> flutter channel | |
| Flutter channels: | |
| * master | |
| dev | |
| * beta | |
| stable |
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
| >> flutter channel beta | |
| # To download the Flutter SDK execute flutter doctor | |
| >> flutter doctor |
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
| >> flutter config --enable-web | |
| Setting | |
| "enable-web" value to "true". | |
| >> flutter config Settings: enable-web: true |
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
| >> flutter create ./project-name |
OlderNewer