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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="primary">#67e100</color> | |
<color name="on_primary">#153800</color> | |
<color name="secondary">#bdcbaf</color> | |
<color name="on_secondary">#283420</color> | |
<color name="tertiary">#a0cfcf</color> | |
<color name="on_tertiary">#003737</color> | |
<color name="error">#ffb4ab</color> | |
<color name="on_error">#e3e3dc</color> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="primary">#2e6c00</color> | |
<color name="on_primary">#ffffff</color> | |
<color name="secondary">#56624b</color> | |
<color name="on_secondary">#ffffff</color> | |
<color name="tertiary">#386666</color> | |
<color name="on_tertiary">#386666</color> | |
<color name="error">#ba1a1a</color> | |
<color name="on_error">#ffffff</color> |
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 { | |
sourceSets { | |
main { | |
proto { | |
// Directory Default Proto | |
srcDir 'src/main/proto' | |
} | |
} | |
} | |
} |
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
productFlavors { | |
development { | |
dimension "app" | |
applicationIdSuffix ".dev" | |
versionNameSuffix "-dev" | |
manifestPlaceholders = [ | |
appName : "CUiT-Dev", | |
appScheme : "cuit-app", | |
icemanApplication: "com.gocuit.cuit.dev" | |
] |
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
E/ExportTask(31787): Error while export | |
E/ExportTask(31787): android.media.MediaCodec$CodecException: Error 0xfffffc0e | |
E/ExportTask(31787): at android.media.MediaCodec.native_configure(Native Method) | |
E/ExportTask(31787): at android.media.MediaCodec.configure(MediaCodec.java:2127) | |
E/ExportTask(31787): at android.media.MediaCodec.configure(MediaCodec.java:2043) | |
E/ExportTask(31787): at com.banuba.sdk.core.encoding.MediaEncoderVideo.prepare(MediaEncoderVideo.java:74) | |
E/ExportTask(31787): at com.banuba.sdk.core.encoding.MediaMuxerWrapper.prepare(MediaMuxerWrapper.java:128) | |
E/ExportTask(31787): at com.banuba.sdk.export.internal.EncodingBundle.<init>(EncodingBundle.java:52) | |
E/ExportTask(31787): at com.banuba.sdk.export.internal.ExportTask.execute(ExportTask.kt:167) | |
E/ExportTask(31787): at com.banuba.sdk.export.internal.ExportManager.tryExport(ExportManager.kt:95) |
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'; | |
void main() { | |
} | |
/* | |
* given static list of string containing people names, | |
* find if name exists in list | |
* example |
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
if(keystoreProperties['storeFile']){ | |
keyAlias keystoreProperties['keyAlias'] | |
keyPassword keystoreProperties['keyPassword'] | |
storeFile file(keystoreProperties['storeFile']) | |
storePassword keystoreProperties['storePassword'] | |
} else { | |
storeFile file('DevKeyStore.jks') | |
storePassword 'xxxxx' | |
keyAlias 'alias your app' | |
keyPassword 'xxxx' |
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
class PdfUtil { | |
final doc = pdf.Document(); | |
final PdfPageFormat? formatPage; | |
PdfUtil(this.formatPage); | |
Future<Uint8List> buildPdf(pdf.Widget widget) { | |
doc.addPage(pdf.Page( | |
build: (pdf.Context context) => widget, | |
pageFormat: formatPage, |
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
@freezed | |
class Playback with _$Playback { | |
factory Playback({ | |
required String policy, | |
required String id, | |
}) = _Playback; | |
factory Playback.fromJson(Map<String, dynamic> data) => | |
_$PlaybackFromJson(data); | |
} |
NewerOlder