On iOS 16+ use the code below:
.scrollIndicators(.hidden)
For example:
List {
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
[ | |
{ | |
"code": "AFG", | |
"name": "Afghanistan", | |
"eu": false | |
}, | |
{ | |
"code": "ALA", | |
"name": "Åland Islands", | |
"eu": false |
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
void main() { | |
for (int i = 0; i < 5; i++) { | |
print('hello ${i + 1}'); | |
} | |
} |
the variable which the state inside StateFulBuilder is dependant on should be defined outside the builder method of StateFulBuilder. If it is defined inside, It will not have any affect.
A container should have either its color specified or its decoration specified. They cannot be mixed up. If you want to use both of them, the trick is to define the color inside BoxDecoration and pass it through the decoration field of your Container.
when you use the Builder widget, it has its own context, therefore the values inside it won't get updated as you expect. Because they are not part of the Getx's widget tree.
As of the day that I am writing this tip, Feb 2023, Flutter File Dialog works flawlessly in both Android and iOS. If the file_picker package does not work for you then give this one a little try. You will not regret it.
find the extension you want from the website for example: https://extensions.gnome.org/extension/771/proxy-switcher/
the number behind the name of the extension inside the url is the id of this extension. note it down.
run this command with the id of your extension