Flutter implementation for this short.
This file contains 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 'package:flutter/rendering.dart'; | |
import 'package:flutter/widgets.dart'; | |
class SliverCrossAxisAlign extends SingleChildRenderObjectWidget { | |
final double alignment; | |
const SliverCrossAxisAlign({ | |
super.key, | |
required this.alignment, | |
required Widget sliver, |
Every app developer has to submit some kind of screenshot for potential users. This task can be tedious, difficult, time-consuming. Maybe you don't want to setup your app in certain ways so that it works, or looks a specific way.
Flutter is in all regards flexible, it offers great tooling for everything.
So what if, instead of writing tests, we want to create screenshots?
Service | Modifications | Alternative frontends |
---|---|---|
GoodTwitter2 | Nitter | |
YouTube | ... | Invidious |
Fandom | ... | BreezeWiki |
Purpose | App | Design Rating |
---|---|---|
App Store | Droid-ify | Material You |
Music | Auxio | Material You |
Files | Material Files | Material You |
Notes | Notally | Material 2 |
Gallery | Camera Roll | Material 2 |
This file contains 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:convert'; | |
import 'dart:math'; | |
import 'package:crypto/crypto.dart'; | |
import 'package:kaiteki/model/http_method.dart'; | |
final DateTime _epoch = DateTime(1970); | |
/// Returns the seconds since January 1st 1970, required for the timestamp | |
/// parameter. | |
int secondsSinceEpoch() { |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json; |
This file contains 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
![Adblock Plus 2.0] | |
! Title: FuckFandom | |
! Expires: 30 days (update frequency) | |
! Homepage: https://gist.github.com/Craftplacer/04089c2c666c89e10818124c92d9c65b | |
fandom.com##.mcf-wrapper | |
fandom.com##.wds-global-footer | |
fandom.com##.global-navigation | |
fandom.com##.top-ads-container |
This file contains 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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using Humanizer; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
namespace Json2Dart | |
{ |
NewerOlder