steady-widget

byKiran Kumar P S

i need this drop down widget in flutter class CustomBorderContainer extends StatelessWidget { final Widget child; final double radius; final BoxBorder? border; final Function()? onTap; const CustomBorderContainer( {super.key, required this.child, required this.border,this.radius=10,this.onTap}); @override Widget build(BuildContext context) { return InkWell( onTap:onTap , child: Container( decoration: BoxDecoration( color: ConstColor.bgColor, border: border, borderRadius: BorderRadius.circular(radius), boxShadow: const [shadow]), child: child, ), ); } } import 'package:flutter/material.dart'; import 'package:quir_kart/View/utils/constant.dart'; class ConstColor { static const Color bgColor = Colors.white; //Color(0xFFf3f3f3); static const Color black = Colors.black; static const Color blackTrans = Color.fromARGB(148, 0, 0, 0); static const Color white = Colors.white; // static const Color mainBg = Color.fromARGB(255, 243, 183, 32); static const Color mainBg = Color(0xFFcb638b); // Color(0xFF865f69); //Color(0xFF0c2c0d); //btnColor; static const Color mainBgLight = Color.fromARGB(255, 255, 188, 214); //Color(0xFF0c2c0d); //btnColor; static const Color secndBg = Color.fromRGBO(100, 71, 76, 1); //Color(0xFF006b8d); //Color(0xFF88b645); static const Color secndBgLight = Color.fromARGB(255, 2, 169, 219); //Color(0xFF88b645); static const Color selectBg = Color.fromARGB(255, 188, 223, 253); static const Color grey = Color.fromARGB(255, 227, 227, 227); static const Color grey2 = Color.fromARGB(255, 111, 111, 111); static const Color lightGrey = Color.fromARGB(240, 243, 242, 242); static const Color r = Color.fromARGB(255, 230, 2, 32); static const Color g = Color.fromARGB(255, 1, 189, 23); static const Color amber = Color.fromARGB(255, 255, 192, 3); static const Color blue = Color.fromARGB(255, 5, 123, 219); static const Color orange = Color.fromARGB(255, 230, 93, 2); } this is my utils

No preview

Comments (0)

No comments yet. Be the first!

Project Tasks

No tasks yet

Add a task now to track work. System-generated tasks will be added here later.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.