criado os widgets dropdown_button_default.dart, subtitle_containers.dart, alert_dialog_default.dart e title_containers.dart.
e ajustada a tela main_procedures_screen.dart
This commit is contained in:
29
lib/widgets/subtitle_containers.dart
Normal file
29
lib/widgets/subtitle_containers.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rkm/utils/color_palette.dart';
|
||||
import 'package:rkm/widgets/text_default.dart';
|
||||
|
||||
class SubtitleContainers extends StatelessWidget {
|
||||
String title;
|
||||
double width;
|
||||
|
||||
SubtitleContainers({
|
||||
required this.title,
|
||||
this.width = double.infinity
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Container(
|
||||
padding: EdgeInsets.all(10),
|
||||
width: width,
|
||||
color: ColorPalette.white,
|
||||
child: TextDefault(text: title,color: ColorPalette.black54),
|
||||
),
|
||||
Divider(color: Colors.black54,endIndent: 10,indent: 10,)
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user