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 { Component, signal } from '@angular/core'; | |
import { bootstrapApplication } from '@angular/platform-browser'; | |
import 'zone.js'; | |
import { ModalComponent } from './app/modal/modal.component'; | |
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; | |
@Component({ | |
selector: 'app-root', | |
standalone: true, | |
imports: [ModalComponent], |
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
// other imports... | |
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; | |
export const appConfig: ApplicationConfig = { | |
providers: [ | |
// all your providers... | |
provideAnimationsAsync(), | |
], | |
}; |
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
... | |
<application | |
android:name="io.flutter.app.FlutterApplication" | |
android:label="@string/app_name" | |
... |
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
<!-- android/app/src/integration/res/values/strings.xml --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="app_name">My App - INT</string> | |
</resources> |
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
<!-- android/app/src/development/res/values/strings.xml --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="app_name">My App - DEV</string> | |
</resources> |
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
... | |
android { | |
... | |
flavorDimensions 'my-app' | |
productFlavors { | |
development { | |
dimension 'my-app' | |
applicationId 'com.my-app.development' | |
} |
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
#set ( $CAMEL_NAME = ${StringUtils.removeAndHump(${NAME})} ) | |
import 'package:flutter/material.dart'; | |
class ${CAMEL_NAME} extends StatefulWidget { | |
@override | |
_${CAMEL_NAME}State createState() => _${CAMEL_NAME}State(); | |
} | |
class _${CAMEL_NAME}State extends State<${CAMEL_NAME}> { | |
@override |
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'; | |
class ${StringUtils.removeAndHump(${NAME})} extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return null; | |
} | |
} |
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 'app_config.dart'; | |
import 'my_app.dart'; | |
void main() { | |
runApp(AppConfig( | |
apiBaseUrl: 'https://integration-api-base-url.com', | |
flavorName: 'int', | |
child: MyApp(flavor: 'int'), |
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 'app_config.dart'; | |
import 'my_app.dart'; | |
void main() { | |
runApp(AppConfig( | |
apiBaseUrl: 'https://development-api-base-url.com/', | |
flavorName: 'dev', | |
child: MyApp(flavor: 'dev'), |
NewerOlder