step 3 : hapus ai_barcode_scanner, ai barcode, update permission_handler, flutter_map,latlong2
This commit is contained in:
23
lib/widget/header_widget.dart
Normal file
23
lib/widget/header_widget.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../app/constant.dart';
|
||||
|
||||
class HeaderWidget extends StatelessWidget {
|
||||
const HeaderWidget({super.key, required this.teks});
|
||||
final String teks;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
color: Colors.white,
|
||||
height: Constant.getActualY(context: context, y: 60),
|
||||
width: double.infinity,
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
teks,
|
||||
style: Constant.heading3(context: context)
|
||||
.copyWith(fontWeight: FontWeight.w600, color: Constant.primaryBlue),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user