Advertisement · 728 × 90

Posts by Josh Burton

Great talk, would love to hear more (maybe a blog post) about optimising widget tests

6 months ago 3 0 0 0

Flutter accessibility experts:

How i can stop the AppBar back button being the first focused and announced widget on a page?

Seems like bad UX for accessibility users.

7 months ago 1 0 1 0
Flutter 3.35 no longer bundles assets from overridden packages · Issue #174593 · flutter/flutter Steps to reproduce depend on a flutter package with assets via dependency_overrides only. Attempt to use an asset from that package Asset is unable to be found This worked on previous Flutter versi...

Anyone else having issues with Flutter 3.35 bundling assets from packages?

It seems if a package is a dependency override, the assets no longer get bundled...

github.com/flutter/flut...

7 months ago 3 0 0 0

Had no idea this existed! Although I don't love button click sounds...

8 months ago 1 0 0 0

I'm going to miss being able to force multi-line formatting using a trailing comma, but otherwise this release looks great!

1 year ago 5 0 0 0

Started using Cursor this week. Not liking VS Code but Cursor Composer can give some great results.

Still need to dive into cursorrules and tweak my workflow.

Really looking forward to @jetbrains.com Junie to get the same thing in Intellij!

1 year ago 1 0 0 0

Great write up!

1 year ago 0 0 0 0

Yep, as long as there is still a goal to improve code generation (which there is!)

1 year ago 0 0 1 0

Running a pub upgrade and then activating again seems to temporarily solve the issue.

1 year ago 0 0 0 0

Anyone else had major issues using dart cli tools since dart 3.6?

I have a CLI tool I develop and use daily, which is globally activated from a local source.

Now I'm frequently getting the error:
'The current activation of `my_cli` cannot resolve to the same set of dependencies'.

1 year ago 0 0 2 0
Advertisement

Looks great! Well thought out and it really does seem like this is needed.

1 year ago 1 0 0 0
Preview
Flutter bundles assets from all packages in a pub workspace · Issue #160142 · flutter/flutter When using the new pub workspaces, I've found a bug where assets from all packages are bundled in the built app, rather than assets from just the packages that the Flutter app depends on. This seem...

yeah that was me, and it does!

Here's the bug report I filed: github.com/flutter/flut...

Looks like a fix is underway.

1 year ago 5 0 2 0

Spent the morning rewriting a polling function that used Timer/Completer/Future into a much nicer version using Stream.periodic.

It turns out Stream.periodic is essentially impossible to test via Flutter Widget tests 😭

Darts async features really need a lot of work.

1 year ago 2 0 0 0
Preview
go_router | Flutter package A declarative router for Flutter based on Navigation 2 supporting deep linking, data-driven routes and more

go_router enters maintenance mode 😭

pub.dev/packages/go_...

1 year ago 15 3 5 3

thanks!

1 year ago 1 0 0 0

seems like the versions of both file and platform dependencies are higher than versions pinned by flutter (or the integration_test package).

Could those be relaxed so I don't need to use dependency overrides?

1 year ago 0 0 1 0

😍 nice, will try this out today!

1 year ago 1 0 1 0

My last day of holiday and I've finally started a new side project 🎉

Using Dart for the backend deployed via Cloud Run. Excited to see how it turns how with the whole stack in Dart.

1 year ago 4 0 0 0
Advertisement
Post image

A bit of holiday baking today

1 year ago 1 0 0 0

ooh yum whats the dressing?

1 year ago 0 0 0 0

amazing, these little round display look great

1 year ago 1 0 0 0

Oh great haven't heard of that one.

I'll check it out

1 year ago 0 0 0 0

Next year I want to start a weekly 'journal' of work achievements, things I'm proud of etc.

I'm thinking a private github repo, with a github app that opens a PR weekly.

1 year ago 1 0 0 0

Anyone have app recommendations for teaching a 3 year old to read?

Duolingo ABC is ok but looking for more options

1 year ago 0 0 1 0
Preview
SliverFillRemaining(fillOverscroll: true) does not extend beyond the viewport size · Issue #141077 · flutter/flutter Steps to reproduce Create a widget that builds a CustomScrollView with bouncing scroll physics and a single child: a SliverFillRemaining with hasScrollBody: false and fillOverscroll: true. Expected...

I assumed that would work as well but it doesn't seem to.

I've found an existing issue filed: github.com/flutter/flut...

1 year ago 1 0 1 0

Thanks for trying!

1 year ago 1 0 0 0
Advertisement

Last day of work for year - so of course I now have the sudden urge to start a side project 🤣

1 year ago 4 0 0 0
DartPad An online Dart editor with support for console and Flutter apps.

Here's a dartpad of a working sample: dartpad.dev?id=45adea1ea...

Basically the footer sliver has a color that should fill the overscroll.

This is achieved in the sample via the aligned container that sizes its height to the scroll offset

1 year ago 1 0 1 0
Post image

Flutter devs - is there a nicer way to fill the bottom scroll offset of a CustomScrollView (which uses BouncingScrollPhysics)?

I'm currently using a scrollController.offset to display a Container behind the scroll view sized to the height of the scroll.

It works, but is there a better way?

1 year ago 3 0 2 0
Preview
Flutter bundles assets from all packages in a pub workspace · Issue #160142 · flutter/flutter When using the new pub workspaces, I've found a bug where assets from all packages are bundled in the built app, rather than assets from just the packages that the Flutter app depends on. This seem...

I've filed a bug with a sample: github.com/flutter/flut...

Seems to only occur when packages depend on a shared base package.

1 year ago 6 0 1 0