You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver
with intent filter, but without the 'android:exported' property set. This file can't be installed
on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported
aback | |
abase | |
abate | |
abbey | |
abbot | |
abhor | |
abide | |
abled | |
abode | |
abort |
class DarkTransition extends StatefulWidget { | |
const DarkTransition( | |
{required this.childBuilder, | |
Key? key, | |
this.offset = Offset.zero, | |
this.themeController, | |
this.radius, | |
this.duration = const Duration(milliseconds: 400), | |
this.isDark = false}) | |
: super(key: key); |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); | |
@override |
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql@14
(The version number 14
needs to be explicitly stated. The @
mark designates a version number is specified. If you need an older version of postgres, use postgresql@13
, for example.)
This is a pattern I came up with when I was working on a fairly large one person app (25k LOC, legal/regulation calculator, lots of unit testing). It is very simple and very effective.
The short version is you have a RootStore that listens to all of it's child stores. Each store has an async initState method and a dispose method. Make observer mixins for platform channel related items like App Lifecycle, Geolocation, Geofencing that add more lifecycle methods to these stores and manage their own initState/dispose.
I realize that a gist is going to look like a bit of a cluster for something of this nature but I bet if you pull it all down into a project and start playing around with it you'll really enjoy it. Especially now that provider
has context.select
.
Here's an example of my folder structure in lib/features
as a bit of a bonus
/** | |
* run `npm init -y` | |
* run `npm i node-fetch` | |
* run `node index.js` | |
* turn Slack notifications on | |
* | |
* Get cowinUrl from the DevTools' network tab | |
* Get authorization string from the Request Headers as the value of authorization header of the network request for cowinUrl. If this expires, the script will stop working. You'll have to log in again and get a new value for this. | |
*/ |
Set up firebase for flutter using firebase cli: https://firebase.flutter.dev/docs/overview/
import 'dart:typed_data'; | |
import 'dart:ui' hide Image; | |
import 'package:image/image.dart' as img_lib; | |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
enum ImageFetchState { initial, fetching, fetched } | |
class ImagePlayground extends StatefulWidget { |