feat : new tagging page
This commit is contained in:
@@ -111,6 +111,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/setting.svg
|
||||
SvgGenImage get setting => const SvgGenImage('assets/icons/setting.svg');
|
||||
|
||||
/// File path: assets/icons/tag_label.svg
|
||||
SvgGenImage get tagLabel => const SvgGenImage('assets/icons/tag_label.svg');
|
||||
|
||||
/// File path: assets/icons/tag_user.svg
|
||||
SvgGenImage get tagUser => const SvgGenImage('assets/icons/tag_user.svg');
|
||||
|
||||
@@ -123,8 +126,8 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/user_square.svg
|
||||
SvgGenImage get userSquare => const SvgGenImage('assets/icons/user_square.svg');
|
||||
|
||||
/// File path: assets/icons/virtual_tag.svg
|
||||
SvgGenImage get virtualTag => const SvgGenImage('assets/icons/virtual_tag.svg');
|
||||
/// File path: assets/icons/virtual.svg
|
||||
SvgGenImage get virtual => const SvgGenImage('assets/icons/virtual.svg');
|
||||
|
||||
/// List of all assets
|
||||
List<SvgGenImage> get values => [
|
||||
@@ -160,11 +163,12 @@ class $AssetsIconsGen {
|
||||
search,
|
||||
securityTime,
|
||||
setting,
|
||||
tagLabel,
|
||||
tagUser,
|
||||
trash,
|
||||
user,
|
||||
userSquare,
|
||||
virtualTag,
|
||||
virtual,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -283,6 +287,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/setting.svg.vec
|
||||
SvgGenImage get settingSvg => const SvgGenImage.vec('assets/vec/setting.svg.vec');
|
||||
|
||||
/// File path: assets/vec/tag_label.svg.vec
|
||||
SvgGenImage get tagLabelSvg => const SvgGenImage.vec('assets/vec/tag_label.svg.vec');
|
||||
|
||||
/// File path: assets/vec/tag_user.svg.vec
|
||||
SvgGenImage get tagUserSvg => const SvgGenImage.vec('assets/vec/tag_user.svg.vec');
|
||||
|
||||
@@ -295,8 +302,8 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/user_square.svg.vec
|
||||
SvgGenImage get userSquareSvg => const SvgGenImage.vec('assets/vec/user_square.svg.vec');
|
||||
|
||||
/// File path: assets/vec/virtual_tag.svg.vec
|
||||
SvgGenImage get virtualTagSvg => const SvgGenImage.vec('assets/vec/virtual_tag.svg.vec');
|
||||
/// File path: assets/vec/virtual.svg.vec
|
||||
SvgGenImage get virtualSvg => const SvgGenImage.vec('assets/vec/virtual.svg.vec');
|
||||
|
||||
/// List of all assets
|
||||
List<SvgGenImage> get values => [
|
||||
@@ -332,11 +339,12 @@ class $AssetsVecGen {
|
||||
searchSvg,
|
||||
securityTimeSvg,
|
||||
settingSvg,
|
||||
tagLabelSvg,
|
||||
tagUserSvg,
|
||||
trashSvg,
|
||||
userSvg,
|
||||
userSquareSvg,
|
||||
virtualTagSvg,
|
||||
virtualSvg,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -3,10 +3,11 @@ import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/presentation/common/app_color.dart';
|
||||
|
||||
class BaseBottomSheet extends StatelessWidget {
|
||||
const BaseBottomSheet({super.key, required this.child, this.height});
|
||||
const BaseBottomSheet({super.key, required this.child, this.height, this.bgColor});
|
||||
|
||||
final Widget child;
|
||||
final double? height;
|
||||
final Color? bgColor;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -14,7 +15,7 @@ class BaseBottomSheet extends StatelessWidget {
|
||||
height: height ?? MediaQuery.of(context).size.height * 0.85,
|
||||
padding: EdgeInsets.symmetric(vertical: 15, horizontal: 20),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
color:bgColor?? Colors.white,
|
||||
borderRadius: BorderRadius.only(topLeft: Radius.circular(25), topRight: Radius.circular(25)),
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
|
||||
Reference in New Issue
Block a user