Skip to content

Instantly share code, notes, and snippets.

View afzaal-ahmad-zeeshan's full-sized avatar
:octocat:
i know i will break it

Afzaal Ahmad Zeeshan afzaal-ahmad-zeeshan

:octocat:
i know i will break it
View GitHub Profile

Install Android SDK CLI Ubuntu 20.04 WSL2 (Work in Progress)

Install Java 8

sudo apt install openjdk-8-jdk-headless

Android SDK

@boanergepro
boanergepro / app.dart
Created July 1, 2019 18:55
Flutter dynamic theming - Change theme at runtime using Provider
import 'package:flutter/material.dart';
class AppProvider with ChangeNotifier {
ThemeData _currentTheme;
AppProvider() {
_currentTheme = ThemeDat.light()
}
ThemeData get currentTheme => _currentTheme;