Skip to content

Instantly share code, notes, and snippets.

Avatar
🇹🇷
Chilling on the balcony ;)

Mansour mancj

🇹🇷
Chilling on the balcony ;)
View GitHub Profile
View chat.dart
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
color: CustomColors.ultraLightGray,
child: Column(
children: [
AppBarFactory.appBarWithCustomBack(
context,
title: AppLocalizations
@mancj
mancj / Android.kt
Last active Mar 27, 2020
Android boilerplate code
View Android.kt
fun startViewIntent(uri: Uri) {
val intent = Intent(Intent.ACTION_VIEW)
intent.data = uri
try {
startActivity(intent)
} catch (e: ActivityNotFoundException) {
e.printStackTrace()
}
}