This file contains hidden or 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
╔╣ Response ║ GET ║ Status: 200 OK ║ Time: 855 ms | |
https://alphaadminlounge.halha.co/api/cases/list?page=1 | |
╔ Response Body | |
{ | |
"status": "Success", | |
"code": "200", | |
"message": "نجاح", | |
"data": { | |
"levels": [ | |
{ |
This file contains hidden or 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
package com.ems.a7diets.Utils | |
import com.ems.a7diets.Application.AppApplication | |
import io.branch.indexing.BranchUniversalObject | |
import io.branch.referral.Branch | |
import io.branch.referral.util.BranchEvent | |
import io.branch.referral.util.ContentMetadata | |
import kotlin.random.Random | |
This file contains hidden or 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:math'; | |
import 'package:cached_network_image/cached_network_image.dart'; | |
import 'package:flutter/material.dart'; | |
import '../customWidgets/InkWellNoSplash.dart'; | |
import '../theme/app_theme.dart'; | |
import 'SortByScreen.dart'; | |
class Changeprefferedstaffscreen extends StatefulWidget { |
This file contains hidden or 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
package proto;// Generated by the protocol buffer compiler. DO NOT EDIT! | |
// source: my.proto | |
public final class My { | |
private My() { | |
} | |
public static void registerAllExtensions( | |
com.google.protobuf.ExtensionRegistryLite registry) { | |
} |
This file contains hidden or 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
package shakir.bhav.common | |
import com.google.common.primitives.Ints | |
import kotlinx.coroutines.GlobalScope | |
import kotlinx.coroutines.launch | |
import okhttp3.* | |
import proto.My // proto file : https://gist.github.com/shakir915/f2f078058183a5beb4a853d7d6529de4 | |
import java.io.File | |
import java.io.FileOutputStream | |
import java.text.SimpleDateFormat |
This file contains hidden or 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
double centerX = positioned.dx; | |
double centerY = positioned.dy; | |
// Inner and outer radii | |
double innerRadius =radius; | |
double outerRadius = 500+ ((1 - progress) *500); | |
Paint ringPaint = Paint() | |
..color = colorShadow.withOpacity(opacityShadow) // Color for the ring | |
..style = PaintingStyle.stroke |
This file contains hidden or 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 android.graphics.BlurMaskFilter | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.draw.drawBehind | |
import androidx.compose.ui.graphics.Color | |
import androidx.compose.ui.graphics.Paint | |
import androidx.compose.ui.graphics.drawscope.drawIntoCanvas | |
import androidx.compose.ui.graphics.toArgb | |
import androidx.compose.ui.unit.Dp | |
import androidx.compose.ui.unit.dp |
This file contains hidden or 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
@file:OptIn(ExperimentalEncodingApi::class) | |
import javax.crypto.Cipher | |
import javax.crypto.spec.SecretKeySpec | |
import kotlin.io.encoding.Base64 | |
import kotlin.io.encoding.ExperimentalEncodingApi | |
@OptIn(ExperimentalEncodingApi::class) | |
fun decrptAES(cipherText: String?): String { |
This file contains hidden or 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 java.io.File | |
import java.io.IOException | |
import java.util.concurrent.TimeUnit | |
fun travers(file: File) { | |
file.listFiles().forEach { | |
if (it.isDirectory) { | |
travers(it) | |
} else { |
This file contains hidden or 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
// file io in IOS kotlin native KMM / compose multiplatform file read write in ios | |
//common main | |
expect class PlatformFileWriter() { | |
fun read(filename: String): String? | |
fun save(filename: String, content: String) | |
fun append(filename: String, content: String) | |
} | |
NewerOlder