69 lines
2.4 KiB
Dart
69 lines
2.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:gascom/constants/app_theme.dart';
|
|
import 'package:gascom/widgets/custom_app_bar.dart';
|
|
import 'package:gascom/widgets/fine_container.dart';
|
|
|
|
class FinesScreen extends StatelessWidget {
|
|
const FinesScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: const CustomAppBar(
|
|
title: "غرامات",
|
|
),
|
|
body: SafeArea(
|
|
child: SingleChildScrollView(
|
|
child: Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20),
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
|
children: <Widget>[
|
|
const SizedBox(height: 30),
|
|
Text(
|
|
"غرامات غير مدفوعة",
|
|
style: Theme.of(context).textTheme.titleLarge,
|
|
),
|
|
const SizedBox(height: 20),
|
|
ListView.separated(
|
|
shrinkWrap: true,
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
itemCount: 5,
|
|
itemBuilder: (context, index) => FineContainer(),
|
|
separatorBuilder: (context, index) => const SizedBox(height: 10),
|
|
),
|
|
const SizedBox(height: 15),
|
|
const Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: 30),
|
|
child: Row(
|
|
children: [
|
|
Divider(
|
|
color: AppTheme.textColor,
|
|
height: 1,
|
|
thickness: 1,
|
|
),
|
|
],
|
|
),
|
|
),
|
|
const SizedBox(height: 15),
|
|
Text(
|
|
"غرامات مدفوعة",
|
|
style: Theme.of(context).textTheme.titleLarge,
|
|
),
|
|
const SizedBox(height: 20),
|
|
ListView.separated(
|
|
shrinkWrap: true,
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
itemCount: 5,
|
|
itemBuilder: (context, index) => const FineContainer(),
|
|
separatorBuilder: (context, index) => const SizedBox(height: 10),
|
|
),
|
|
const SizedBox(height: 30),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |