iOS 26 alert dialogs in Flutter 🔥
@mahersafadii1953 位关注者
93,173 次观看
10 条评论
评论来自 X (Twitter) 上的原帖

@SuprDeclarative
One side effect to keep in mind is that showing OS popovers causes a lifecycle change that otherwise wouldn't happen. Could lead to unexpected glitches if you're not aware of this.
29 个赞

@mahersafadii
didn't know that.
4 个赞

@hamza_imran75
Why doesn’t flutters Cupertino uses method channels to show the dialog won’t that solve the border radius and other issues?
7 个赞

@squirelBoy360
Exactly what I am working on. Not released yet but I guess it does exactly what you are asking. It renders actual native components and obviously I cant make bindings for all the native components so just the primitives and a FlutterViewAdapter to shell your fluter app.
5 个赞

@hamza_imran75
I’m digging this new dialog not a fan of the old iOS dialogs felt too old
3 个赞

@KhalidWarsa
That radius makes me want to
3 个赞

@iosemagno
Couldn't agree more. Text labels via CoreText, with input, navigation bar, modals via platform views. In a typical use case, there would only be 1 to 4 platform views active at any given time. This way, the iOS app will look and feel 100% native.
3 个赞

@user_name_7_7_7
Personally, I’m sure that things like dialogs, context menus, text editing actions (btw flutter moving to this on ios) should be native, there is no sense to reimplement what is available by a simple native sdk call
2 个赞

@Mario285kr
Btw, popups in iOS 26 are now left aligned and you have them center aligned!
2 个赞

@mahersafadii
They get left aligned at a certain amount of text
2 个赞