FQAs and Quick Links Screens created
This commit is contained in:
34
lib/features/service/screens/quick_links_screen.dart
Normal file
34
lib/features/service/screens/quick_links_screen.dart
Normal file
@@ -0,0 +1,34 @@
|
||||
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),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user