Skip to content

Instantly share code, notes, and snippets.

View vlasentiy's full-sized avatar

Vlas Artanov vlasentiy

View GitHub Profile
@jogboms
jogboms / modified_text.dart
Last active July 14, 2023 10:45
An Alternative idea to styling Text widgets
/// How to use
///
/// ModifiedText(
/// "hello",
/// modifier: TextModifiers.fontSize(50).bold.primaryColor,
/// )
class ModifiedText extends StatelessWidget {
const ModifiedText(this.data, {Key? key, this.modifier = TextModifiers}) : super(key: key);
final String data;
@loftywaif002
loftywaif002 / api_keys_android.md
Last active June 4, 2024 13:03
Hiding Api Keys in Anroid

Hiding API keys in local.properties

  1. Make sure your build directory is gitignored. It should be, by default, in a new Android Studio project -- you can double check by making sure that your .gitignore file contains the line:
/build
  1. In your project root directory, add the API key to local.properties file like this: