Write Among

Planet Among

Write Among takes any posts from Public blogs and puts them on this page. This is a good way to explore new blogs. If you want your blog to appear here, make sure its visibility is set to Public.

from MiniClub Blog

Miniclub now uses the Flaskring backend, which means site handling is much easier now. If your site is example.com, you can use

https://miniclub.amongtech.cc/next/example.com
https://miniclub.amongtech.cc/prev/example.com

to get links to the correct sites.

 
Read more...

from Cleo's tavern

Making a decent toned Dark theme in flutter

In a default flutter setup you learn that you can easily set accent colors using primarySwatch, but when you try to support dark mode in your app, you quickly find out that this accent doesn't work in dark mode. When you read this blogpost you probably want a quick solution. Here it is: You need to create a custom Color Scheme. It also helps creating one for your Light Theme too.

First you need to create some final variables for the Color Schemes

` final ColorScheme purpleSchemeLight = ColorScheme.fromSeed( brightness: Brightness.light, seedColor: Colors.deepPurple, primary: Colors.deepPurple[600], secondary: Colors.deepPurple[900], );

final ColorScheme purpleSchemeDark = ColorScheme.fromSeed( brightness: Brightness.dark, seedColor: Colors.deepPurple, primary: Colors.deepPurple[300], secondary: Colors.deepPurple[200], ); `

once you have that, you can apply the Colorschemes to your build function like this: theme: ThemeData( colorScheme: purpleSchemeLight, primaryColor: purpleSchemeLight.primary, primaryColorLight: Color.alphaBlend( Colors.white.withAlpha(0x66), purpleSchemeLight.primary), primaryColorDark: Color.alphaBlend( Colors.black.withAlpha(0x66), purpleSchemeLight.primary), secondaryHeaderColor: Color.alphaBlend( Colors.white.withAlpha(0xCC), purpleSchemeLight.primary), toggleableActiveColor: purpleSchemeLight.secondary, scaffoldBackgroundColor: purpleSchemeLight.background, canvasColor: purpleSchemeLight.background, backgroundColor: purpleSchemeLight.background, cardColor: purpleSchemeLight.surface, bottomAppBarColor: purpleSchemeLight.surface, dialogBackgroundColor: purpleSchemeLight.surface, indicatorColor: purpleSchemeLight.onPrimary, dividerColor: purpleSchemeLight.onSurface.withOpacity(0.12), errorColor: purpleSchemeLight.error, applyElevationOverlayColor: false, ), darkTheme: ThemeData( colorScheme: purpleSchemeDark, primaryColor: purpleSchemeDark.primary, primaryColorLight: Color.alphaBlend( Colors.white.withAlpha(0x59), purpleSchemeDark.primary), primaryColorDark: Color.alphaBlend( Colors.black.withAlpha(0x72), purpleSchemeDark.primary), secondaryHeaderColor: Color.alphaBlend( Colors.black.withAlpha(0x99), purpleSchemeDark.primary), toggleableActiveColor: purpleSchemeDark.secondary, scaffoldBackgroundColor: purpleSchemeDark.background, canvasColor: purpleSchemeDark.background, backgroundColor: purpleSchemeDark.background, cardColor: purpleSchemeDark.surface, bottomAppBarColor: purpleSchemeDark.surface, dialogBackgroundColor: purpleSchemeDark.surface, indicatorColor: purpleSchemeDark.primary, dividerColor: purpleSchemeDark.onSurface.withOpacity(0.12), errorColor: purpleSchemeDark.error, applyElevationOverlayColor: true, ),

Hope it helps and have a great day!!!

Source: https://github.com/flutter/flutter/issues/19089#issuecomment-1106644732

 
Weiterlesen...

from Random updates

Random has a couple of goals it would like to meet before the next release. Those are, in order of importance:

  • Empty state for Roulette
  • Enter makes new row in Roulette
  • Update help links
  • Accessibility improvements
  • Translations

That's all. These may take a while, so if you want to help is appreciated.

 
Read more...

from Random updates

The new PR by @dimmednerd@mastodon.social has been merged, and now we need help with translations! Currently Random supports:

  • English US (default, no help needed)
  • English GB
  • German
  • Italian
  • Spanish
  • Russian
  • Hungarian

If you know any of these languages- please, help Random! You can submit changes to the Git repo, or email the file to Forever. Thanks for any help!

 
Read more...

from Random updates

Version 1.4 “Circle” will, in summary, completely change many aspects of Random.

Credit to @dimmednerd@mastodon.social for most of these changes. I owe you a debt of gratitude.

Buttons Moved Out

Upon the first starting of Random, you'll notice that the Number to Roulette function has moved.

New Random Number UI, with a Number to Roulette button

This is to aim for a better experience for all users of Random.

Drawing Animations

All three panels have drawing animations now; of fade-in and fade-out. See the below GIF.

fade-in and fade-out animations in Random

Then, probably the largest change:

New Roulette UI

The Roulette UI has been reinvented from better principles. This is the largest design change in the history of Random. When you first open Roulette, you see something along the lines of this:

new roulette UI

Let's dissect this.

Choices are now Rows

The choices are now AdwPreferenceRows, each with a text box and a delete button. The text box, well, controls what the item represented by the row actually is. The delete button should also be obvious.

The Add button

There is a new + button to add rows to Roulette, to have more options to pick from.

New Menu

There's a More menu right next to the + button. It has the following contents:

Delete Picked

This is a toggleable option, it replaces the function in the primary menu.

Paste from Clipboard

Miss the old way of adding to Roulette? You can still do that, for example: Layla/Rose/Cleveland/Lampy will make 4 rows with the titles in that list when you select the / separator. Yes, the separator function has been added back in.

What about exporting?

It should be easy to compile a list from looking at the options. Therefore, this feature has been removed.

Remove All

Just what it says; removes all rows to start fresh.

Summary of Roulette

In summary, a lot changed. There's new keyboard shortcuts too (they will be implemented). So, in general, it feels like this:

big large showcase of all those features, minus clipboard

Other Changes

There are:

  • Updated strings
  • New colors for buttons
  • New icons
  • activates-default for the entries

That's a lot for one release. It should come out soon, when the final touches have been made.

 
Read more...