Jonny Borges

change example

  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +**/ios/Flutter/.last_build_id
  26 +.dart_tool/
  27 +.flutter-plugins
  28 +.flutter-plugins-dependencies
  29 +.packages
  30 +.pub-cache/
  31 +.pub/
  32 +/build/
  33 +
  34 +# Web related
  35 +lib/generated_plugin_registrant.dart
  36 +
  37 +# Symbolication related
  38 +app.*.symbols
  39 +
  40 +# Obfuscation related
  41 +app.*.map.json
  42 +
  43 +# Android Studio will place build artifacts here
  44 +/android/app/debug
  45 +/android/app/profile
  46 +/android/app/release
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: b22742018b3edf16c6cadd7b76d9db5e7f9064b5
  8 + channel: stable
  9 +
  10 +project_type: app
  1 +gradle-wrapper.jar
  2 +/.gradle
  3 +/captures/
  4 +/gradlew
  5 +/gradlew.bat
  6 +/local.properties
  7 +GeneratedPluginRegistrant.java
  8 +
  9 +# Remember to never publicly share your keystore.
  10 +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
  11 +key.properties
  1 +*.mode1v3
  2 +*.mode2v3
  3 +*.moved-aside
  4 +*.pbxuser
  5 +*.perspectivev3
  6 +**/*sync/
  7 +.sconsign.dblite
  8 +.tags*
  9 +**/.vagrant/
  10 +**/DerivedData/
  11 +Icon?
  12 +**/Pods/
  13 +**/.symlinks/
  14 +profile
  15 +xcuserdata
  16 +**/.generated/
  17 +Flutter/App.framework
  18 +Flutter/Flutter.framework
  19 +Flutter/Flutter.podspec
  20 +Flutter/Generated.xcconfig
  21 +Flutter/ephemeral/
  22 +Flutter/app.flx
  23 +Flutter/app.zip
  24 +Flutter/flutter_assets/
  25 +Flutter/flutter_export_environment.sh
  26 +ServiceDefinitions.json
  27 +Runner/GeneratedPluginRegistrant.*
  28 +
  29 +# Exceptions to above rules.
  30 +!default.mode1v3
  31 +!default.mode2v3
  32 +!default.pbxuser
  33 +!default.perspectivev3
@@ -2,13 +2,12 @@ @@ -2,13 +2,12 @@
2 FLUTTER_ROOT=/Users/jonatasborges/flutter 2 FLUTTER_ROOT=/Users/jonatasborges/flutter
3 FLUTTER_APPLICATION_PATH=/Users/jonatasborges/consertar/getx/example_nav2 3 FLUTTER_APPLICATION_PATH=/Users/jonatasborges/consertar/getx/example_nav2
4 COCOAPODS_PARALLEL_CODE_SIGN=true 4 COCOAPODS_PARALLEL_CODE_SIGN=true
5 -FLUTTER_TARGET=/Users/jonatasborges/consertar/getx/example_nav2/lib/main.dart 5 +FLUTTER_TARGET=lib/main.dart
6 FLUTTER_BUILD_DIR=build 6 FLUTTER_BUILD_DIR=build
7 FLUTTER_BUILD_NAME=1.0.0 7 FLUTTER_BUILD_NAME=1.0.0
8 FLUTTER_BUILD_NUMBER=1 8 FLUTTER_BUILD_NUMBER=1
9 EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386 9 EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
10 -DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==  
11 DART_OBFUSCATION=false 10 DART_OBFUSCATION=false
12 -TRACK_WIDGET_CREATION=true 11 +TRACK_WIDGET_CREATION=false
13 TREE_SHAKE_ICONS=false 12 TREE_SHAKE_ICONS=false
14 -PACKAGE_CONFIG=/Users/jonatasborges/consertar/getx/example_nav2/.dart_tool/package_config.json 13 +PACKAGE_CONFIG=.dart_tool/package_config.json
@@ -3,12 +3,11 @@ @@ -3,12 +3,11 @@
3 export "FLUTTER_ROOT=/Users/jonatasborges/flutter" 3 export "FLUTTER_ROOT=/Users/jonatasborges/flutter"
4 export "FLUTTER_APPLICATION_PATH=/Users/jonatasborges/consertar/getx/example_nav2" 4 export "FLUTTER_APPLICATION_PATH=/Users/jonatasborges/consertar/getx/example_nav2"
5 export "COCOAPODS_PARALLEL_CODE_SIGN=true" 5 export "COCOAPODS_PARALLEL_CODE_SIGN=true"
6 -export "FLUTTER_TARGET=/Users/jonatasborges/consertar/getx/example_nav2/lib/main.dart" 6 +export "FLUTTER_TARGET=lib/main.dart"
7 export "FLUTTER_BUILD_DIR=build" 7 export "FLUTTER_BUILD_DIR=build"
8 export "FLUTTER_BUILD_NAME=1.0.0" 8 export "FLUTTER_BUILD_NAME=1.0.0"
9 export "FLUTTER_BUILD_NUMBER=1" 9 export "FLUTTER_BUILD_NUMBER=1"
10 -export "DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ=="  
11 export "DART_OBFUSCATION=false" 10 export "DART_OBFUSCATION=false"
12 -export "TRACK_WIDGET_CREATION=true" 11 +export "TRACK_WIDGET_CREATION=false"
13 export "TREE_SHAKE_ICONS=false" 12 export "TREE_SHAKE_ICONS=false"
14 -export "PACKAGE_CONFIG=/Users/jonatasborges/consertar/getx/example_nav2/.dart_tool/package_config.json" 13 +export "PACKAGE_CONFIG=.dart_tool/package_config.json"
@@ -18,7 +18,7 @@ class HomeView extends GetView<HomeController> { @@ -18,7 +18,7 @@ class HomeView extends GetView<HomeController> {
18 if (currentLocation.startsWith(Routes.products) == true) { 18 if (currentLocation.startsWith(Routes.products) == true) {
19 currentIndex = 2; 19 currentIndex = 2;
20 } 20 }
21 - if (currentLocation.startsWith(Routes.profile) == true) { 21 + if (currentLocation.startsWith(Routes.products) == true) {
22 currentIndex = 1; 22 currentIndex = 1;
23 } 23 }
24 return Scaffold( 24 return Scaffold(
@@ -31,9 +31,7 @@ class LoginView extends GetView<LoginController> { @@ -31,9 +31,7 @@ class LoginView extends GetView<LoginController> {
31 ), 31 ),
32 onPressed: () { 32 onPressed: () {
33 AuthService.to.login(); 33 AuthService.to.login();
34 -  
35 final thenTo = context.params['then']; 34 final thenTo = context.params['then'];
36 - print(context.navigation.currentConfiguration?.route?.parameters);  
37 Get.offNamed(thenTo ?? Routes.home); 35 Get.offNamed(thenTo ?? Routes.home);
38 }, 36 },
39 ), 37 ),
@@ -15,11 +15,10 @@ class ProductsView extends GetView<ProductsController> { @@ -15,11 +15,10 @@ class ProductsView extends GetView<ProductsController> {
15 ), 15 ),
16 body: Column( 16 body: Column(
17 children: [ 17 children: [
18 - // Hero(  
19 - // tag: 'heroLogo',  
20 - // child:  
21 - const FlutterLogo(),  
22 - // ), 18 + Hero(
  19 + tag: 'heroLogo',
  20 + child: const FlutterLogo(),
  21 + ),
23 Expanded( 22 Expanded(
24 child: Obx( 23 child: Obx(
25 () => RefreshIndicator( 24 () => RefreshIndicator(
1 import 'package:get/get.dart'; 1 import 'package:get/get.dart';
2 2
3 class RootController extends GetxController { 3 class RootController extends GetxController {
  4 + //TODO: Implement RootController
  5 +
4 final count = 0.obs; 6 final count = 0.obs;
  7 + @override
  8 + void onInit() {
  9 + super.onInit();
  10 + }
  11 +
  12 + @override
  13 + void onReady() {
  14 + super.onReady();
  15 + }
5 16
6 @override 17 @override
7 void onClose() {} 18 void onClose() {}
1 import 'package:get/get.dart'; 1 import 'package:get/get.dart';
2 2
3 class SettingsController extends GetxController { 3 class SettingsController extends GetxController {
  4 + //TODO: Implement SettingsController
  5 +
4 final count = 0.obs; 6 final count = 0.obs;
  7 + @override
  8 + void onInit() {
  9 + super.onInit();
  10 + }
  11 +
  12 + @override
  13 + void onReady() {
  14 + super.onReady();
  15 + }
5 16
6 @override 17 @override
7 void onClose() {} 18 void onClose() {}
  1 +flutter/ephemeral/
  2 +
  3 +# Visual Studio user-specific files.
  4 +*.suo
  5 +*.user
  6 +*.userosscache
  7 +*.sln.docstates
  8 +
  9 +# Visual Studio build-related files.
  10 +x64/
  11 +x86/
  12 +
  13 +# Visual Studio cache files
  14 +# files ending in .cache can be ignored
  15 +*.[Cc]ache
  16 +# but keep track of directories ending in .cache
  17 +!*.[Cc]ache/