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; | |
/** | |
* | |
*/ |
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 'package:epocpdv/src/core/extensions/strings_extension.dart'; | |
import 'package:epocpdv/src/core/helpers/utils.dart'; | |
import 'package:isar/isar.dart'; | |
part 'ativacao_model.g.dart'; | |
@Name('ativacao') | |
@Collection() |
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
// ignore_for_file: public_member_api_docs, sort_constructors_first | |
import 'dart:convert'; | |
import 'package:epocpdv/src/data/model/cargas/funcionario_model.dart'; | |
import 'package:isar/isar.dart'; | |
part 'user_model.g.dart'; | |
class UserModel { | |
final int id; |
NewerOlder