chore: Migration to Dart 3.8 (#6668)

* Migration to Dart 3.8

* New GA

* Fix dartdoc
This commit is contained in:
Edouard Marquez
2025-06-23 18:14:17 +02:00
committed by GitHub
parent dda75e283e
commit e3bc40fdf3
628 changed files with 18834 additions and 17076 deletions

View File

@ -19,10 +19,7 @@ class SmoothIndicatorIcon extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Padding(
padding: margin ??
const EdgeInsetsDirectional.all(
VERY_SMALL_SPACE,
),
padding: margin ?? const EdgeInsetsDirectional.all(VERY_SMALL_SPACE),
child: DecoratedBox(
decoration: const BoxDecoration(
color: Colors.black38,
@ -31,11 +28,9 @@ class SmoothIndicatorIcon extends StatelessWidget {
child: Padding(
padding: padding ?? const EdgeInsetsDirectional.all(SMALL_SPACE),
child: IconTheme(
data: iconTheme ??
const IconThemeData(
color: Colors.white,
size: 15.0,
),
data:
iconTheme ??
const IconThemeData(color: Colors.white, size: 15.0),
child: icon,
),
),