35 lines
920 B
Dart
35 lines
920 B
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),
|
|
),
|
|
);
|
|
}
|
|
}
|