build method
dynamic
build( - dynamic context
)
Implementation
@override
Widget build(BuildContext context) {
return SizedBox(
height: 450,
child: Center(
child: Column(
children: [
Text(
L10n.of(context).congrats,
style: Theme.of(context).textTheme.titleMedium,
),
Padding(
padding: const EdgeInsets.all(20),
child: Icon(
Atlas.check_circle_thin,
size: 50.0,
color: Theme.of(context).colorScheme.success,
),
),
Text(
L10n.of(context).youAreDoneWithAllYourTasks,
style: Theme.of(context).textTheme.bodyMedium,
),
Padding(
padding: const EdgeInsets.all(20),
child: Text(
L10n.of(context).seeOpenTasks,
style: Theme.of(context).textTheme.bodySmall,
),
),
],
),
),
);
}