mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-22 09:30:45 +00:00
19 lines
472 B
Dart
19 lines
472 B
Dart
|
|
import 'package:flutter/material.dart';
|
||
|
|
import 'package:flutter/widgets.dart';
|
||
|
|
import 'package:friflex_starter/gen/assets.gen.dart';
|
||
|
|
|
||
|
|
/// {@template SplashScreen}
|
||
|
|
/// Экран загрузки приложения.
|
||
|
|
/// {@endtemplate}
|
||
|
|
class SplashScreen extends StatelessWidget {
|
||
|
|
/// {@macro SplashScreen}
|
||
|
|
const SplashScreen({super.key});
|
||
|
|
|
||
|
|
@override
|
||
|
|
Widget build(BuildContext context) {
|
||
|
|
return Center(
|
||
|
|
child: Assets.lottie.splash.lottie(),
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|