Sync all use PlatformInfo to check platform while runtime

(cherry picked from commit 514fec1f2f4f1ff8a584bf8db7bf3a5537a3e9f8)
This commit is contained in:
dab246
2023-06-15 14:26:04 +07:00
committed by Dat H. Pham
parent 3d019d644a
commit 96145aae7a
88 changed files with 298 additions and 309 deletions
@@ -7,13 +7,13 @@ typedef OnTapMaterialTextButton = Function();
class MaterialTextButton extends StatelessWidget {
final String label;
final OnTapMaterialTextButton onTap;
final OnTapMaterialTextButton? onTap;
final double borderRadius;
final Color? labelColor;
final double labelSize;
final FontWeight? labelWeight;
final TextStyle? customStyle;
final EdgeInsets? padding;
final EdgeInsetsGeometry? padding;
final TextOverflow? overflow;
final bool? softWrap;