You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			37 lines
		
	
	
		
			939 B
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			37 lines
		
	
	
		
			939 B
		
	
	
	
		
			Dart
		
	
| import 'package:flutter/material.dart';
 | |
| import 'package:mohem_flutter_app/classes/decorations_helper.dart';
 | |
| import 'package:mohem_flutter_app/extensions/int_extensions.dart';
 | |
| 
 | |
| class DisclosureCustomStatusWidget extends StatelessWidget {
 | |
|   final Widget asset;
 | |
|   final Widget title;
 | |
|   final Widget subTitle;
 | |
| 
 | |
|   const DisclosureCustomStatusWidget({
 | |
|     Key? key,
 | |
|     required this.asset,
 | |
|     required this.title,
 | |
|     required this.subTitle,
 | |
|   }) : super(key: key);
 | |
| 
 | |
|   @override
 | |
|   Widget build(BuildContext context) {
 | |
|     return Container(
 | |
|       width: double.infinity,
 | |
|       height: 440,
 | |
|       decoration: MyDecorations.shadowDecoration,
 | |
|       padding: const EdgeInsets.symmetric(vertical: 20, horizontal: 20),
 | |
|       child: Column(
 | |
|         mainAxisAlignment: MainAxisAlignment.center,
 | |
|         children: <Widget>[
 | |
|           asset,
 | |
|           50.height,
 | |
|           title,
 | |
|           10.height,
 | |
|           subTitle,
 | |
|         ],
 | |
|       ),
 | |
|     );
 | |
|   }
 | |
| }
 |