[SYNC] Working on the checkbox toggle

This commit is contained in:
2024-05-16 20:55:38 +03:00
parent 68b98929e5
commit 5c7cbd660a
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class AstromicCheckboxToggle extends StatefulWidget {
//s1 -- Configuration
final bool? isEnabled;
final bool? isLabelTapable;
final TextDirection? textDirection;
final TextDirection textDirection;
//s1 -- Style
final double? itemSize;
final double? labelSpacing;

View File

@@ -27,7 +27,7 @@ class AstromicToggles {
onStateChanged: onStateChanged,
isEnabled: isEnabled,
isLabelTapable: isLabelTapable,
textDirection: textDirection,
textDirection: textDirection ?? TextDirection.ltr,
itemSize: itemSize,
labelSpacing: labelSpacing,
itemBuilder: itemBuilder,