flet 0.70.0.dev6491__py3-none-any.whl → 0.70.0.dev6519__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of flet might be problematic. Click here for more details.

flet/controls/theme.py CHANGED
@@ -3,6 +3,7 @@ from enum import Enum
3
3
  from typing import Optional
4
4
 
5
5
  from flet.controls.alignment import Alignment
6
+ from flet.controls.animation import AnimationStyle
6
7
  from flet.controls.border import BorderSide
7
8
  from flet.controls.border_radius import BorderRadiusValue
8
9
  from flet.controls.box import BoxConstraints, BoxDecoration, BoxShadowValue
@@ -11,6 +12,8 @@ from flet.controls.control_state import ControlStateValue
11
12
  from flet.controls.duration import DurationValue
12
13
  from flet.controls.geometry import Size
13
14
  from flet.controls.margin import MarginValue
15
+ from flet.controls.material.expansion_tile import TileAffinity
16
+ from flet.controls.material.list_tile import ListTileStyle, ListTileTitleAlignment
14
17
  from flet.controls.material.menu_bar import MenuStyle
15
18
  from flet.controls.material.navigation_bar import NavigationBarLabelBehavior
16
19
  from flet.controls.material.navigation_rail import NavigationRailLabelType
@@ -530,92 +533,77 @@ class TabBarTheme:
530
533
 
531
534
  indicator_size: Optional[TabBarIndicatorSize] = None
532
535
  """
533
- Overrides the default value for
534
- [`TabBar.indicator_size`][flet.].
536
+ Overrides the default value for [`TabBar.indicator_size`][flet.].
535
537
  """
536
538
 
537
539
  indicator: Optional[UnderlineTabIndicator] = None
538
540
  """
539
- Overrides the default value for
540
- [`TabBar.indicator`][flet.].
541
+ Overrides the default value for [`TabBar.indicator`][flet.].
541
542
  """
542
543
 
543
544
  indicator_animation: Optional[TabIndicatorAnimation] = None
544
545
  """
545
- Overrides the default value for
546
- [`TabBar.indicator_animation`][flet.].
546
+ Overrides the default value for [`TabBar.indicator_animation`][flet.].
547
547
  """
548
548
 
549
549
  splash_border_radius: Optional[BorderRadiusValue] = None
550
550
  """
551
- Overrides the default value for
552
- [`TabBar.splash_border_radius`][flet.].
551
+ Overrides the default value for [`TabBar.splash_border_radius`][flet.].
553
552
  """
554
553
 
555
554
  tab_alignment: Optional[TabAlignment] = None
556
555
  """
557
- Overrides the default value for
558
- [`TabBar.tab_alignment`][flet.].
556
+ Overrides the default value for [`TabBar.tab_alignment`][flet.].
559
557
  """
560
558
 
561
559
  overlay_color: Optional[ControlStateValue[ColorValue]] = None
562
560
  """
563
- Overrides the default value for
564
- [`TabBar.overlay_color`][flet.].
561
+ Overrides the default value for [`TabBar.overlay_color`][flet.].
565
562
  """
566
563
 
567
564
  divider_color: Optional[ColorValue] = None
568
565
  """
569
- Overrides the default value for
570
- [`TabBar.divider_color`][flet.].
566
+ Overrides the default value for [`TabBar.divider_color`][flet.].
571
567
  """
572
568
 
573
569
  indicator_color: Optional[ColorValue] = None
574
570
  """
575
- Overrides the default value for
576
- [`TabBar.indicator_color`][flet.].
571
+ Overrides the default value for [`TabBar.indicator_color`][flet.].
577
572
  """
578
573
 
579
574
  mouse_cursor: Optional[ControlStateValue[Optional[MouseCursor]]] = None
580
575
  """
581
- Overrides the default value for
582
- [`TabBar.mouse_cursor`][flet.].
576
+ Overrides the default value for [`TabBar.mouse_cursor`][flet.].
583
577
  """
584
578
 
585
579
  divider_height: Optional[Number] = None
586
580
  """
587
- Overrides the default value for
588
- [`TabBar.divider_height`][flet.].
581
+ Overrides the default value for [`TabBar.divider_height`][flet.].
589
582
  """
590
583
 
591
584
  label_color: Optional[ColorValue] = None
592
585
  """
593
- Overrides the default value for
594
- [`TabBar.label_color`][flet.].
586
+ Overrides the default value for [`TabBar.label_color`][flet.].
595
587
  """
596
588
 
597
589
  unselected_label_color: Optional[ColorValue] = None
598
590
  """
599
- Overrides the default value for
600
- [`TabBar.unselected_label_color`][flet.].
591
+ Overrides the default value for [`TabBar.unselected_label_color`][flet.].
601
592
  """
602
593
 
603
594
  label_padding: Optional[PaddingValue] = None
604
595
  """
605
- Overrides the default value for
606
- [`TabBar.label_padding`][flet.].
596
+ Overrides the default value for [`TabBar.label_padding`][flet.].
607
597
  """
608
598
 
609
599
  label_text_style: Optional[TextStyle] = None
610
600
  """
611
- Overrides the default value for
612
- [`TabBar.label_text_style`][flet.].
601
+ Overrides the default value for [`TabBar.label_text_style`][flet.].
613
602
  """
614
603
 
615
604
  unselected_label_text_style: Optional[TextStyle] = None
616
605
  """
617
- Overrides the default value for
618
- [`TabBar.unselected_label_text_style`][flet.].
606
+ Overrides the default value for [`TabBar.unselected_label_text_style`][flet.].
619
607
  """
620
608
 
621
609
 
@@ -709,50 +697,44 @@ class DialogTheme:
709
697
 
710
698
  title_text_style: Optional[TextStyle] = None
711
699
  """
712
- Overrides the default value of
713
- [`AlertDialog.title_text_style`][flet.] in all
700
+ Overrides the default value of [`AlertDialog.title_text_style`][flet.] in all
714
701
  descendant [`AlertDialog`][flet.] controls.
715
702
  """
716
703
 
717
704
  content_text_style: Optional[TextStyle] = None
718
705
  """
719
- Overrides the default value of
720
- [`AlertDialog.content_text_style`][flet.] in all
706
+ Overrides the default value of [`AlertDialog.content_text_style`][flet.] in all
721
707
  descendant [`AlertDialog`][flet.] controls.
722
708
  """
723
709
 
724
710
  alignment: Optional[Alignment] = None
725
711
  """
726
- Overrides the default value of [`AlertDialog.alignment`][flet.]
727
- in all descendant [`AlertDialog`][flet.] controls.
712
+ Overrides the default value of [`AlertDialog.alignment`][flet.] in all
713
+ descendant [`AlertDialog`][flet.] controls.
728
714
  """
729
715
 
730
716
  actions_padding: Optional[PaddingValue] = None
731
717
  """
732
- Overrides the default value of
733
- [`AlertDialog.actions_padding`][flet.] in all descendant
734
- [`AlertDialog`][flet.] controls.
718
+ Overrides the default value of [`AlertDialog.actions_padding`][flet.] in all
719
+ descendant [`AlertDialog`][flet.] controls.
735
720
  """
736
721
 
737
722
  clip_behavior: Optional[ClipBehavior] = None
738
723
  """
739
- Overrides the default value of
740
- [`AlertDialog.clip_behavior`][flet.] in all descendant
741
- [`AlertDialog`][flet.] controls.
724
+ Overrides the default value of [`AlertDialog.clip_behavior`][flet.] in all
725
+ descendant [`AlertDialog`][flet.] controls.
742
726
  """
743
727
 
744
728
  barrier_color: Optional[ColorValue] = None
745
729
  """
746
- Overrides the default value of
747
- [`AlertDialog.barrier_color`][flet.] in all descendant
748
- [`AlertDialog`][flet.] controls.
730
+ Overrides the default value of [`AlertDialog.barrier_color`][flet.] in all
731
+ descendant [`AlertDialog`][flet.] controls.
749
732
  """
750
733
 
751
734
  inset_padding: Optional[PaddingValue] = None
752
735
  """
753
- Overrides the default value of
754
- [`AlertDialog.inset_padding`][flet.] in all descendant
755
- [`AlertDialog`][flet.] controls.
736
+ Overrides the default value of [`AlertDialog.inset_padding`][flet.] in all
737
+ descendant [`AlertDialog`][flet.] controls.
756
738
  """
757
739
 
758
740
 
@@ -764,9 +746,8 @@ class ButtonTheme:
764
746
 
765
747
  style: Optional[ButtonStyle] = None
766
748
  """
767
- Overrides the default value of
768
- [`Button.style`][flet.] in all descendant
769
- [`Button`][flet.] controls.
749
+ Overrides the default value of [`Button.style`][flet.] in all
750
+ descendant [`Button`][flet.] controls.
770
751
  """
771
752
 
772
753
 
@@ -778,9 +759,8 @@ class OutlinedButtonTheme:
778
759
 
779
760
  style: Optional[ButtonStyle] = None
780
761
  """
781
- Overrides the default value of
782
- [`OutlinedButton.style`][flet.] in all descendant
783
- [`OutlinedButton`][flet.] controls.
762
+ Overrides the default value of [`OutlinedButton.style`][flet.] in all
763
+ descendant [`OutlinedButton`][flet.] controls.
784
764
  """
785
765
 
786
766
 
@@ -792,9 +772,8 @@ class TextButtonTheme:
792
772
 
793
773
  style: Optional[ButtonStyle] = None
794
774
  """
795
- Overrides the default value of
796
- [`TextButton.style`][flet.] in all descendant
797
- [`TextButton`][flet.] controls.
775
+ Overrides the default value of [`TextButton.style`][flet.] in all
776
+ descendant [`TextButton`][flet.] controls.
798
777
  """
799
778
 
800
779
 
@@ -806,9 +785,8 @@ class FilledButtonTheme:
806
785
 
807
786
  style: Optional[ButtonStyle] = None
808
787
  """
809
- Overrides the default value of
810
- [`FilledButton.style`][flet.] in all descendant
811
- [`FilledButton`][flet.] controls.
788
+ Overrides the default value of [`FilledButton.style`][flet.] in all
789
+ descendant [`FilledButton`][flet.] controls.
812
790
  """
813
791
 
814
792
 
@@ -820,9 +798,8 @@ class IconButtonTheme:
820
798
 
821
799
  style: Optional[ButtonStyle] = None
822
800
  """
823
- Overrides the default value of
824
- [`IconButton.style`][flet.] in all descendant
825
- [`IconButton`][flet.] controls.
801
+ Overrides the default value of [`IconButton.style`][flet.] in all
802
+ descendant [`IconButton`][flet.] controls.
826
803
  """
827
804
 
828
805
 
@@ -834,15 +811,14 @@ class BottomSheetTheme:
834
811
 
835
812
  bgcolor: Optional[ColorValue] = None
836
813
  """
837
- Overrides the default value of [`BottomSheet.bgcolor`][flet.] in
838
- all descendant [`BottomSheet`][flet.] controls.
814
+ Overrides the default value of [`BottomSheet.bgcolor`][flet.] in all
815
+ descendant [`BottomSheet`][flet.] controls.
839
816
  """
840
817
 
841
818
  elevation: Optional[Number] = None
842
819
  """
843
- Overrides the default value of
844
- [`BottomSheet.elevation`][flet.] in all descendant
845
- [`BottomSheet`][flet.] controls.
820
+ Overrides the default value of [`BottomSheet.elevation`][flet.] in all
821
+ descendant [`BottomSheet`][flet.] controls.
846
822
  """
847
823
 
848
824
  shape: Optional[OutlinedBorder] = None
@@ -853,42 +829,38 @@ class BottomSheetTheme:
853
829
 
854
830
  show_drag_handle: Optional[bool] = None
855
831
  """
856
- Overrides the default value of
857
- [`BottomSheet.show_drag_handle`][flet.] in all
832
+ Overrides the default value of [`BottomSheet.show_drag_handle`][flet.] in all
858
833
  descendant [`BottomSheet`][flet.] controls.
859
834
  """
860
835
 
861
836
  clip_behavior: Optional[ClipBehavior] = None
862
837
  """
863
- Overrides the default value of
864
- [`BottomSheet.clip_behavior`][flet.] in all
838
+ Overrides the default value of [`BottomSheet.clip_behavior`][flet.] in all
865
839
  descendant [`BottomSheet`][flet.] controls.
866
840
  """
867
841
 
868
842
  size_constraints: Optional[BoxConstraints] = None
869
843
  """
870
- Overrides the default value of
871
- [`BottomSheet.size_constraints`][flet.] in all
844
+ Overrides the default value of [`BottomSheet.size_constraints`][flet.] in all
872
845
  descendant [`BottomSheet`][flet.] controls.
873
846
  """
874
847
 
875
848
  barrier_color: Optional[ColorValue] = None
876
849
  """
877
- Overrides the default value of
878
- [`BottomSheet.barrier_color`][flet.] in all
850
+ Overrides the default value of [`BottomSheet.barrier_color`][flet.] in all
879
851
  descendant [`BottomSheet`][flet.] controls.
880
852
  """
881
853
 
882
854
  drag_handle_color: Optional[ColorValue] = None
883
855
  """
884
- Overrides the default value of drag handle color in all descendant
885
- [`BottomSheet`][flet.] controls.
856
+ Overrides the default value of drag handle color in all
857
+ descendant [`BottomSheet`][flet.] controls.
886
858
  """
887
859
 
888
860
  shadow_color: Optional[ColorValue] = None
889
861
  """
890
- Overrides the default value of shadow color in all descendant
891
- [`BottomSheet`][flet.] controls.
862
+ Overrides the default value of shadow color in all
863
+ descendant [`BottomSheet`][flet.] controls.
892
864
  """
893
865
 
894
866
 
@@ -900,39 +872,38 @@ class CardTheme:
900
872
 
901
873
  color: Optional[ColorValue] = None
902
874
  """
903
- Overrides the default value of [`Card.clip_behavior`][flet.] in
904
- all descendant [`Card`][flet.] controls.
875
+ Overrides the default value of [`Card.clip_behavior`][flet.] in all
876
+ descendant [`Card`][flet.] controls.
905
877
  """
906
878
 
907
879
  shadow_color: Optional[ColorValue] = None
908
880
  """
909
- Overrides the default value of [`Card.shadow_color`][flet.] in
910
- all descendant [`Card`][flet.] controls.
881
+ Overrides the default value of [`Card.shadow_color`][flet.] in all
882
+ descendant [`Card`][flet.] controls.
911
883
  """
912
884
 
913
885
  elevation: Optional[Number] = None
914
886
  """
915
- Overrides the default value of
916
- [`Card.elevation`][flet.] in all descendant [`Card`][flet.]
917
- controls.
887
+ Overrides the default value of [`Card.elevation`][flet.] in all
888
+ descendant [`Card`][flet.] controls.
918
889
  """
919
890
 
920
891
  shape: Optional[OutlinedBorder] = None
921
892
  """
922
- Overrides the default value of [`Card.shape`][flet.] in all descendant
923
- [`Card`][flet.] controls.
893
+ Overrides the default value of [`Card.shape`][flet.] in all
894
+ descendant [`Card`][flet.] controls.
924
895
  """
925
896
 
926
897
  clip_behavior: Optional[ClipBehavior] = None
927
898
  """
928
- Overrides the default value of [`Card.clip_behavior`][flet.] in
929
- all descendant [`Card`][flet.] controls.
899
+ Overrides the default value of [`Card.clip_behavior`][flet.] in all
900
+ descendant [`Card`][flet.] controls.
930
901
  """
931
902
 
932
903
  margin: Optional[MarginValue] = None
933
904
  """
934
- Overrides the default value of [`Card.margin`][flet.] in all descendant
935
- [`Card`][flet.] controls.
905
+ Overrides the default value of [`Card.margin`][flet.] in all
906
+ descendant [`Card`][flet.] controls.
936
907
  """
937
908
 
938
909
 
@@ -962,37 +933,32 @@ class ChipTheme:
962
933
 
963
934
  selected_shadow_color: Optional[ColorValue] = None
964
935
  """
965
- Overrides the default value of
966
- [`Chip.selected_shadow_color`][flet.] in all descendant
967
- [`Chip`][flet.] controls.
936
+ Overrides the default value of [`Chip.selected_shadow_color`][flet.] in all
937
+ descendant [`Chip`][flet.] controls.
968
938
  """
969
939
 
970
940
  disabled_color: Optional[ColorValue] = None
971
941
  """
972
- Overrides the default value of
973
- [`Chip.disabled_color`][flet.] in all descendant
974
- [`Chip`][flet.] controls.
942
+ Overrides the default value of [`Chip.disabled_color`][flet.] in all
943
+ descendant [`Chip`][flet.] controls.
975
944
  """
976
945
 
977
946
  selected_color: Optional[ColorValue] = None
978
947
  """
979
- Overrides the default value of
980
- [`Chip.selected_color`][flet.] in all descendant
981
- [`Chip`][flet.] controls.
948
+ Overrides the default value of [`Chip.selected_color`][flet.] in all
949
+ descendant [`Chip`][flet.] controls.
982
950
  """
983
951
 
984
952
  check_color: Optional[ColorValue] = None
985
953
  """
986
- Overrides the default value of
987
- [`Chip.check_color`][flet.] in all descendant
988
- [`Chip`][flet.] controls.
954
+ Overrides the default value of [`Chip.check_color`][flet.] in all
955
+ descendant [`Chip`][flet.] controls.
989
956
  """
990
957
 
991
958
  delete_icon_color: Optional[ColorValue] = None
992
959
  """
993
- Overrides the default value of
994
- [`Chip.delete_icon_color`][flet.] in all descendant
995
- [`Chip`][flet.] controls.
960
+ Overrides the default value of [`Chip.delete_icon_color`][flet.] in all
961
+ descendant [`Chip`][flet.] controls.
996
962
  """
997
963
 
998
964
  elevation: Optional[Number] = None
@@ -1003,9 +969,8 @@ class ChipTheme:
1003
969
 
1004
970
  elevation_on_click: Optional[Number] = None
1005
971
  """
1006
- Overrides the default value of
1007
- [`Chip.elevation_on_click`][flet.] in all descendant
1008
- [`Chip`][flet.] controls.
972
+ Overrides the default value of [`Chip.elevation_on_click`][flet.] in all
973
+ descendant [`Chip`][flet.] controls.
1009
974
  """
1010
975
 
1011
976
  shape: Optional[OutlinedBorder] = None
@@ -1022,15 +987,14 @@ class ChipTheme:
1022
987
 
1023
988
  label_padding: Optional[PaddingValue] = None
1024
989
  """
1025
- Overrides the default value of [`Chip.label_padding`][flet.] in
1026
- all descendant [`Chip`][flet.] controls.
990
+ Overrides the default value of [`Chip.label_padding`][flet.] in all
991
+ descendant [`Chip`][flet.] controls.
1027
992
  """
1028
993
 
1029
994
  label_text_style: Optional[TextStyle] = None
1030
995
  """
1031
- Overrides the default value of
1032
- [`Chip.label_text_style`][flet.] in all descendant
1033
- [`Chip`][flet.] controls.
996
+ Overrides the default value of [`Chip.label_text_style`][flet.] in all
997
+ descendant [`Chip`][flet.] controls.
1034
998
  """
1035
999
 
1036
1000
  border_side: Optional[BorderSide] = None
@@ -1041,28 +1005,26 @@ class ChipTheme:
1041
1005
 
1042
1006
  show_checkmark: Optional[bool] = None
1043
1007
  """
1044
- Overrides the default value of [`Chip.show_checkmark`][flet.] in
1045
- all descendant [`Chip`][flet.] controls.
1008
+ Overrides the default value of [`Chip.show_checkmark`][flet.] in all
1009
+ descendant [`Chip`][flet.] controls.
1046
1010
  """
1047
1011
 
1048
1012
  leading_size_constraints: Optional[BoxConstraints] = None
1049
1013
  """
1050
- Overrides the default value of
1051
- [`Chip.leading_size_constraints`][flet.] in all
1014
+ Overrides the default value of [`Chip.leading_size_constraints`][flet.] in all
1052
1015
  descendant [`Chip`][flet.] controls.
1053
1016
  """
1054
1017
 
1055
1018
  delete_icon_size_constraints: Optional[BoxConstraints] = None
1056
1019
  """
1057
- Overrides the default value of
1058
- [`Chip.delete_icon_size_constraints`][flet.] in
1059
- all descendant [`Chip`][flet.] controls.
1020
+ Overrides the default value of [`Chip.delete_icon_size_constraints`][flet.] in all
1021
+ descendant [`Chip`][flet.] controls.
1060
1022
  """
1061
1023
 
1062
1024
  brightness: Optional[Brightness] = None
1063
1025
  """
1064
- Overrides the default value for all chips which affects various base
1065
- material color choices in the chip rendering.
1026
+ Overrides the default value for all chips which affects various base material
1027
+ color choices in the chip rendering.
1066
1028
  """
1067
1029
 
1068
1030
  # secondary_selected_color: Optional[ColorValue] = None
@@ -1145,14 +1107,12 @@ class FloatingActionButtonTheme:
1145
1107
 
1146
1108
  enable_feedback: Optional[bool] = None
1147
1109
  """
1148
- If specified, defines the feedback property for
1149
- [`FloatingActionButton`][flet.].
1110
+ If specified, defines the feedback property for [`FloatingActionButton`][flet.].
1150
1111
  """
1151
1112
 
1152
1113
  extended_padding: Optional[PaddingValue] = None
1153
1114
  """
1154
- The padding for a [`FloatingActionButton`][flet.]'s
1155
- that has both icon and content.
1115
+ The padding for a [`FloatingActionButton`][flet.]'s that has both icon and content.
1156
1116
  """
1157
1117
 
1158
1118
  text_style: Optional[TextStyle] = None
@@ -1163,8 +1123,7 @@ class FloatingActionButtonTheme:
1163
1123
 
1164
1124
  icon_label_spacing: Optional[Number] = None
1165
1125
  """
1166
- The spacing between the icon and the label for
1167
- [`FloatingActionButton`][flet.].
1126
+ The spacing between the icon and the label for [`FloatingActionButton`][flet.].
1168
1127
  """
1169
1128
 
1170
1129
  extended_size_constraints: Optional[BoxConstraints] = None
@@ -2283,26 +2242,22 @@ class ListTileTheme:
2283
2242
 
2284
2243
  selected_tile_color: Optional[ColorValue] = None
2285
2244
  """
2286
- Overrides the default value for
2287
- [`ListTile.selected_tile_color`][flet.].
2245
+ Overrides the default value for [`ListTile.selected_tile_color`][flet.].
2288
2246
  """
2289
2247
 
2290
2248
  selected_color: Optional[ColorValue] = None
2291
2249
  """
2292
- Overrides the default value for
2293
- [`ListTile.selected_color`][flet.].
2250
+ Overrides the default value for [`ListTile.selected_color`][flet.].
2294
2251
  """
2295
2252
 
2296
2253
  is_three_line: Optional[bool] = None
2297
2254
  """
2298
- Overrides the default value for
2299
- [`ListTile.is_three_line`][flet.].
2255
+ Overrides the default value for [`ListTile.is_three_line`][flet.].
2300
2256
  """
2301
2257
 
2302
2258
  enable_feedback: Optional[bool] = None
2303
2259
  """
2304
- Overrides the default value for
2305
- [`ListTile.enable_feedback`][flet.].
2260
+ Overrides the default value for [`ListTile.enable_feedback`][flet.].
2306
2261
  """
2307
2262
 
2308
2263
  dense: Optional[bool] = None
@@ -2317,62 +2272,67 @@ class ListTileTheme:
2317
2272
 
2318
2273
  visual_density: Optional[VisualDensity] = None
2319
2274
  """
2320
- Overrides the default value for
2321
- [`ListTile.visual_density`][flet.].
2275
+ Overrides the default value for [`ListTile.visual_density`][flet.].
2322
2276
  """
2323
2277
 
2324
2278
  content_padding: Optional[PaddingValue] = None
2325
2279
  """
2326
- Overrides the default value for
2327
- [`ListTile.content_padding`][flet.].
2280
+ Overrides the default value for [`ListTile.content_padding`][flet.].
2328
2281
  """
2329
2282
 
2330
2283
  min_vertical_padding: Optional[PaddingValue] = None
2331
2284
  """
2332
- Overrides the default value for
2333
- [`ListTile.min_vertical_padding`][flet.].
2285
+ Overrides the default value for [`ListTile.min_vertical_padding`][flet.].
2334
2286
  """
2335
2287
 
2336
2288
  horizontal_spacing: Optional[Number] = None
2337
2289
  """
2338
- Overrides the default value for
2339
- [`ListTile.horizontal_spacing`][flet.].
2290
+ Overrides the default value for [`ListTile.horizontal_spacing`][flet.].
2340
2291
  """
2341
2292
 
2342
2293
  min_leading_width: Optional[Number] = None
2343
2294
  """
2344
- Overrides the default value for
2345
- [`ListTile.min_leading_width`][flet.].
2295
+ Overrides the default value for [`ListTile.min_leading_width`][flet.].
2346
2296
  """
2347
2297
 
2348
2298
  title_text_style: Optional[TextStyle] = None
2349
2299
  """
2350
- Overrides the default value for
2351
- [`ListTile.title_text_style`][flet.].
2300
+ Overrides the default value for [`ListTile.title_text_style`][flet.].
2352
2301
  """
2353
2302
 
2354
2303
  subtitle_text_style: Optional[TextStyle] = None
2355
2304
  """
2356
- Overrides the default value for
2357
- [`ListTile.subtitle_text_style`][flet.].
2305
+ Overrides the default value for [`ListTile.subtitle_text_style`][flet.].
2358
2306
  """
2359
2307
 
2360
2308
  leading_and_trailing_text_style: Optional[TextStyle] = None
2361
2309
  """
2362
- Overrides the default value for
2363
- [`ListTile.leading_and_trailing_text_style`][flet.].
2310
+ Overrides the default value for [`ListTile.leading_and_trailing_text_style`][flet.].
2364
2311
  """
2365
2312
 
2366
2313
  mouse_cursor: Optional[ControlStateValue[MouseCursor]] = None
2367
2314
  """
2368
- Overrides the default value for
2369
- [`ListTile.mouse_cursor`][flet.].
2315
+ Overrides the default value for [`ListTile.mouse_cursor`][flet.].
2370
2316
  """
2371
2317
 
2372
2318
  min_height: Optional[Number] = None
2373
2319
  """
2374
- Overrides the default value for
2375
- [`ListTile.min_height`][flet.].
2320
+ Overrides the default value for [`ListTile.min_height`][flet.].
2321
+ """
2322
+
2323
+ affinity: Optional[TileAffinity] = None
2324
+ """
2325
+ Overrides the default value for [`ExpansionTile.affinity`][flet.].
2326
+ """
2327
+
2328
+ style: Optional[ListTileStyle] = None
2329
+ """
2330
+ Overrides the default value for [`ListTile.style`][flet.].
2331
+ """
2332
+
2333
+ title_alignment: Optional[ListTileTitleAlignment] = None
2334
+ """
2335
+ Overrides the default value for [`ListTile.title_alignment`][flet.].
2376
2336
  """
2377
2337
 
2378
2338
 
@@ -2528,6 +2488,23 @@ class ExpansionTileTheme:
2528
2488
  [`ExpansionTile.controls_padding`][flet.].
2529
2489
  """
2530
2490
 
2491
+ shape: Optional[OutlinedBorder] = None
2492
+ """
2493
+ Overrides the default value for [`ExpansionTile.shape`][flet.].
2494
+ """
2495
+
2496
+ collapsed_shape: Optional[OutlinedBorder] = None
2497
+ """
2498
+ Overrides the default value for
2499
+ [`ExpansionTile.collapsed_shape`][flet.].
2500
+ """
2501
+
2502
+ animation_style: Optional[AnimationStyle] = None
2503
+ """
2504
+ Overrides the default value for
2505
+ [`ExpansionTile.animation_style`][flet.].
2506
+ """
2507
+
2531
2508
 
2532
2509
  @dataclass
2533
2510
  class SliderTheme: