Files
kmobile/lib/features/service/screens/quick_links_screen.dart

51 lines
1.3 KiB
Dart

import 'package:flutter/material.dart';
import 'package:kmobile/l10n/app_localizations.dart';
class QuickLinksScreen extends StatefulWidget {
const QuickLinksScreen({super.key});
@override
State<QuickLinksScreen> createState() => _QuickLinksScreenState();
}
class _QuickLinksScreenState extends State<QuickLinksScreen> {
@override
void initState() {
super.initState();
_getQuickLinks();
}
// A placeholder for your future API call
Future<void> _getQuickLinks() async {
// TODO: Implement API call to fetch quick links data
// For now, simulating a network call with a delay
await Future.delayed(const Duration(seconds: 1));
// In a real implementation, you would process the API response here
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(AppLocalizations.of(context).quickLinks),
),
body: Stack(
children: [
IgnorePointer(
child: Center(
child: Opacity(
opacity: 0.1, // Low opacity
child: Image.asset(
'assets/images/logo.png',
width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
),
),
),
],
),
);
}
}