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
const jsonList = '[{"id":2,"product":"DIGEST VITZ","descriptionsProduct":"DIGEST VITZ","composition":"Colina, Cobre quelado, Magnésio quelado, Metionina, Vitamina B6, Zinco quelado, Resveratrol, Astaxantina.","indication":"Disfunções hepática, Disfunção gástrica. Dispepsia. Gastrite","usageMode":"8 a 12 gotas sublingual","category":"Detox","price":44,"priceDiscount":40,"percent":10,"um":"caixa","balance":28,"minimumBalance":0,"listImages":[{"id":2,"url":"uploads/product2.png"}]},{"id":4,"product":"PROTECT VITZ","descriptionsProduct":"PROTECT VITZ","composition":"Trans-Resveratrol, Àcido Hialurônico, Silício, Metil-sulfoilmetano, Vitamina A, Biotina, Vitamina C, L-Cisteína, Zinco.","indication":"Anti Age, Rejuvenecimento, Fortalecimento dos cabelos, unhas e pele.\r\nCansaço. Doenças degenerativas.\r\n","usageMode":"8 a 12 gotas sublingual","category":"Suplimento","price":55,"priceDiscount":50,"percent":10,"um":"caixa","balance":30,"minimumBalance":0,"listImages":[{"id":4,"url":"uploads/product4.png"}]}]'; | |
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
const jsonList = [ | |
{ | |
"cidade": "Paris", | |
"pais": "França", | |
"pontos_turisticos": [ | |
"Torre Eiffel", | |
"Museu do Louvre", | |
"Catedral de Notre-Dame", | |
"Arco do Triunfo" | |
] |
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
flavors: | |
prod: | |
app: | |
name: "MEU APP" | |
android: | |
applicationId: "br.com.brasizza.marcus.meuapp" | |
ios: | |
bundleId: "br.com.brasizza.marcus.meuapp" | |
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'; | |
import 'package:provider/provider.dart'; | |
void main() { | |
const isCat = true; | |
runApp( | |
Provider<Animal>( | |
create: (context) { | |
debugPrint('create'); | |
return isCat ? Cat(name: 'Whiskers', meows: 'meow') : Dog(name: 'Fido', barks: 'woof'); |
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:cinema_stub/app/core/socket/socket_base.dart'; | |
import 'package:cinema_stub/app/data/models/seat.dart'; | |
import 'package:cinema_stub/app/data/repositories/seats_repository.dart'; | |
import 'package:flutter_bloc/flutter_bloc.dart'; | |
part 'cinema_state.dart'; | |
class CinemaCubit extends Cubit<CinemaState> { | |
final SeatsRepository _repository; | |
final SocketBase _socket; |
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 'dart:convert'; | |
import 'dart:developer'; | |
import 'dart:io'; | |
import 'package:cinema_stub/app/core/socket/socket_base.dart'; | |
class SocketCore implements SocketBase { | |
late final Socket socket; | |
Map<String, Function> channels = {}; |
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:deeplink_live/app/modules/posts/posts_page.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_getit/flutter_getit.dart'; | |
class PostsRoute extends FlutterGetItModule { | |
@override | |
List<Bind> get bindings => []; | |
@override | |
String get moduleRouteName => '/'; |
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:deeplink_live/app/modules/posts/posts_route.dart'; | |
import 'package:deeplink_live/app/modules/splash/splash_route.dart'; | |
import 'package:dio/dio.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_getit/flutter_getit.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |
<application | |
android:label="deeplink_live" | |
android:name="${applicationName}" | |
android:icon="@mipmap/ic_launcher"> | |
<activity | |
android:name=".MainActivity" | |
android:exported="true" | |
android:launchMode="singleTop" | |
android:theme="@style/LaunchTheme" |
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
<?php | |
namespace App\Helpers; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Schema; | |
/** | |
* | |
*/ |
NewerOlder