TDropdownTheme class
Constructors
-
TDropdownTheme({required Color defaultColor, required Color hoverColor, required Color activeColor, required Color activeBackgroundColor, required Color borderColor, Duration animationDuration = const Duration(milliseconds: 200), Duration showDelay = const Duration(milliseconds: 25), Duration hideDelay = const Duration(milliseconds: 125), TPopupAlignment alignment = TPopupAlignment.bottomLeft, double offset = 8.0, TPopupAlignment secondaryAlignment = TPopupAlignment.rightTop, double secondaryOffset = 8.0, BoxConstraints boxConstraints = const BoxConstraints(minWidth: 175), double iconSize = 20.0, double arrowIconSize = 14.0, double gap = 10.0, double overlayElevation = 8.0, BorderRadius overlayBorderRadius = const BorderRadius.all(Radius.circular(8.0)), EdgeInsets overlayPadding = const EdgeInsets.symmetric(vertical: 8), EdgeInsets itemPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12), BorderRadius itemBorderRadius = const BorderRadius.all(Radius.circular(6.0)), double fontSize = 14.0, FontWeight fontWeight = FontWeight.w300})
-
const
-
TDropdownTheme.defaultTheme(ColorScheme? colors)
-
factory
Methods
-
copyWith({Color? defaultColor, Color? hoverColor, Color? activeColor, Color? activeBackgroundColor, Color? borderColor, Duration? animationDuration, Duration? showDelay, Duration? hideDelay, TPopupAlignment? alignment, double? offset, TPopupAlignment? secondaryAlignment, double? secondaryOffset, BoxConstraints? boxConstraints, double? iconSize, double? arrowIconSize, double? gap, double? overlayElevation, BorderRadius? overlayBorderRadius, EdgeInsets? overlayPadding, EdgeInsets? itemPadding, BorderRadius? itemBorderRadius, double? fontSize, FontWeight? fontWeight, IconData? arrowIcon, IconData? dropdownIcon, IconData? expandIcon})
→ TMenuTheme
-
inherited
-
getItemColor({required bool isActive, required bool containsActive, required bool isHovered})
→ Color
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited