refactor : base page

This commit is contained in:
2025-09-24 16:24:45 +03:30
parent d2c495bfb1
commit 19802e913c
23 changed files with 562 additions and 568 deletions

View File

@@ -2,10 +2,13 @@ import 'package:flutter/cupertino.dart';
import 'package:rasadyar_core/core.dart';
Widget buildPageRoute(List<String> route) {
if(route.isEmpty){
return SizedBox.shrink();
}
return Padding(
padding: const EdgeInsets.fromLTRB(0, 4, 7, 4),
child: Text(
route.isEmpty ? 'خانه' : route.join(" > "),
route.join(" > "),
style: AppFonts.yekan14.copyWith(color: AppColor.bgDark),
),
);