Eliminate discrepancy between examples in this repository and flet.dev docs. 1. Go to website "docs/controls". 2. Check if example from a website is working. If it's working then replace or add example in "examples" repository with the one from docs. 3. Adjust code for the recent "standards": - `import flet as ft` - replace deprecations - replace string values with enums (colors, icons, alignments, etc.) - remove "Python" code tab (`import TabItem from '@theme/TabItem';`, `<Tabs groupId="language">`, etc.) 4. Replace actual code on a website with a snippet retrieving code from GitHub: See `docs/controls/snackbar.md` for example. 5. If there are "extra" samples for the control in "examples" repository then make sure they are working with the latest Flet. The list of controls: * [x] Ads * [x] AlertDialog * [x] AnimatedSwitcher * [x] AppBar * [x] Audio * [ ] AudioRecorder * [x] AutoComplete * [x] AutoFillGroup * [x] Banner * [x] BannerAd * [x] BarChart * [x] BottomAppBar * [x] BottomSheet * [x] Buttons * [x] Canvas * [x] Card * [x] CheckBox * [x] Chip * [x] CircleAvatar * [x] Column * [x] Container * [x] CupertinoActionSheet * [x] CupertinoActionSheetAction * [x] CupertinoActivityIndicator * [x] CupertinoAlertDialog * [x] CupertinoAppBar * [x] CupertinoBottomSheet * [x] CupertinoButton * [x] CupertinoCheckBox * [x] CupertinoContextMenu * [x] CupertinoContextMenuAction * [x] CupertinoDatePicker * [x] CupertinoDialogAction * [x] CupertinoFilledButton * [x] CupertinoListTile * [x] CupertinoNavigationBar * [x] CupertinoPicker * [x] CupertinoRadio * [x] CupertinoSegmentedButton * [x] CupertinoSlider * [x] CupertinoSlidingSegmentedButton * [x] CupertinoSwitch * [x] CupertinoTextField * [x] CupertinoTimerPicker * [x] DataTable * [x] DatePicker * [x] Dismissible * [x] Divider * [x] Draggable * [x] DragTarget * [x] Dropdown * [x] ElevatedButton * [x] ExpansionPanel * [x] ExpansionTile * [x] FilePicker * [x] FilledButton * [x] FilledTonalButton * [x] Flashlight * [ ] FletApp * [x] FloatingActionButton * [x] GeoLocator * [x] GestureDetector * [x] GridView * [x] HapticFeedback * [x] Icon * [x] IconButton * [x] Image * [x] InteractiveViewer * [x] InterstitialAd * [x] LineChart * [x] ListTile * [x] ListView * [x] Lottie * [x] Map * [x] MapCircleLayer * [x] MapMarkerLayer * [x] MapPolygonLayer * [x] MapPolylineLayer * [x] MapRichAttribution * [x] MapSimpleAttribution * [x] MapTextSourceAttribution * [x] MapTileLayer * [x] Markdown * [x] MatplotlibChart * [x] MenuBar * [x] MenuItemButton * [ ] MergeSemantics * [x] NavigationBar * [x] NavigationDrawer * [x] NavigationRail * [x] OutlinedButton * [x] Page * [x] Pagelet * [x] PermissionHandler * [x] PieChart * [x] Placeholder * [x] PlotlyChart * [x] PopupMenuButton * [x] ProgressBar * [x] ProgressRing * [x] Radio * [x] RangeSlider * [x] ResponsiveRow * [x] Rive * [x] Row * [x] SafeArea * [x] SearchBar * [x] SegmentedButton * [x] SelectionArea * [ ] Semantics * [ ] SemanticsService * [x] ShaderMask * [x] ShakeDetector * [x] Slider * [x] SnackBar * [x] Stack * [x] SubmenuButton * [x] Switch * [x] Tabs * [x] Text * [x] TextButton * [x] TextField * [x] TimePicker * [x] TransparentPointer * [x] VerticalDivider * [x] Video * [ ] View * [x] WebView * [x] WindowDragArea
Eliminate discrepancy between examples in this repository and flet.dev docs.
import flet as ftimport TabItem from '@theme/TabItem';,<Tabs groupId="language">, etc.)docs/controls/snackbar.mdfor example.The list of controls: