158 lines
5.7 KiB
Dart
158 lines
5.7 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:provider/provider.dart';
|
|
//import 'package:collection/collection.dart';
|
|
import 'dart:math';
|
|
|
|
import '../../app.dart';
|
|
import '../../common/constants.dart';
|
|
import '../../common/utils.dart';
|
|
import '../../data/models/_models.dart';
|
|
import '../components/_components.dart';
|
|
|
|
class Container1045_jwip extends StatelessWidget {
|
|
final String p6;
|
|
final String p5;
|
|
final IconData p4;
|
|
final IconData p3;
|
|
final String p2;
|
|
final IconData p1;
|
|
|
|
Container1045_jwip(
|
|
this.p6,
|
|
this.p5,
|
|
this.p4,
|
|
this.p3,
|
|
this.p2,
|
|
this.p1, {
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
margin: EdgeInsets.fromLTRB(0, 0, 0, 16),
|
|
padding: EdgeInsets.all(12),
|
|
decoration: BoxDecoration(
|
|
color: Color(0xffffffff),
|
|
shape: BoxShape.rectangle,
|
|
borderRadius: BorderRadius.circular(12.0),
|
|
border: Border.all(color: Color(0x4d9e9e9e), width: 1),
|
|
),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [
|
|
Icon(p1, color: Color(0xff3a57e8), size: 50),
|
|
Expanded(
|
|
flex: 1,
|
|
child: Padding(
|
|
padding: EdgeInsets.fromLTRB(16, 0, 0, 0),
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [
|
|
Expanded(
|
|
flex: 1,
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [
|
|
Expanded(
|
|
flex: 1,
|
|
child: Text(
|
|
p2,
|
|
textAlign: TextAlign.start,
|
|
maxLines: 1,
|
|
overflow: TextOverflow.clip,
|
|
style: TextStyle(
|
|
fontWeight: FontWeight.w700,
|
|
fontStyle: FontStyle.normal,
|
|
fontSize: 16,
|
|
color: Color(0xff000000),
|
|
),
|
|
),
|
|
),
|
|
Padding(
|
|
padding: EdgeInsets.symmetric(
|
|
vertical: 0,
|
|
horizontal: 8,
|
|
),
|
|
child: Icon(
|
|
p3,
|
|
color: Color(0xffffac00),
|
|
size: 20,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
Icon(p4, color: Color(0xff212435), size: 20),
|
|
],
|
|
),
|
|
Padding(
|
|
padding: EdgeInsets.fromLTRB(0, 4, 0, 0),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
mainAxisSize: MainAxisSize.max,
|
|
children: [
|
|
Expanded(
|
|
flex: 1,
|
|
child: Text(
|
|
p5,
|
|
textAlign: TextAlign.start,
|
|
maxLines: 1,
|
|
overflow: TextOverflow.clip,
|
|
style: TextStyle(
|
|
fontWeight: FontWeight.w400,
|
|
fontStyle: FontStyle.normal,
|
|
fontSize: 14,
|
|
color: Color(0xff393939),
|
|
),
|
|
),
|
|
),
|
|
Container(
|
|
margin: EdgeInsets.fromLTRB(8, 0, 0, 0),
|
|
padding: EdgeInsets.symmetric(
|
|
vertical: 4,
|
|
horizontal: 8,
|
|
),
|
|
decoration: BoxDecoration(
|
|
color: Color(0x343a57e8),
|
|
shape: BoxShape.rectangle,
|
|
borderRadius: BorderRadius.circular(4.0),
|
|
),
|
|
child: Text(
|
|
p6,
|
|
textAlign: TextAlign.start,
|
|
overflow: TextOverflow.clip,
|
|
style: TextStyle(
|
|
fontWeight: FontWeight.w400,
|
|
fontStyle: FontStyle.normal,
|
|
fontSize: 12,
|
|
color: Color(0xff3a57e8),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|