Advertisement
muhaiminurabir

elevated button flutter fill button

Mar 25th, 2025 (edited)
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.68 KB | None | 0 0
  1.                       ElevatedButton(
  2.                         style: ButtonStyle(
  3.                           backgroundColor: WidgetStateProperty.all(
  4.                             ProjectColors.primaryColor,
  5.                           ),
  6.                           padding: WidgetStateProperty.all(EdgeInsets.all(5)),
  7.                           textStyle: WidgetStateProperty.all(
  8.                             TextStyle(
  9.                               fontSize: 14,
  10.                               color: ProjectColors.white,
  11.                               fontWeight: FontWeight.w500,
  12.                             ),
  13.                           ),
  14.                         ),
  15.                         onPressed: () {},
  16.                         child: Row(
  17.                           mainAxisAlignment: MainAxisAlignment.center,
  18.                           spacing: 6,
  19.                           children: [
  20.                             SvgPicture.asset(
  21.                               "assets/images/download.svg",
  22.                               colorFilter: ColorFilter.mode(
  23.                                 ProjectColors.white,
  24.                                 BlendMode.srcIn,
  25.                               ),
  26.                             ),
  27.                             Text(
  28.                               "Download Funding Summary",
  29.                               style: GoogleFonts.poppins(
  30.                                 fontWeight: FontWeight.w500,
  31.                                 fontSize: 14,
  32.                                 color: ProjectColors.white,
  33.                               ),
  34.                             ),
  35.                           ],
  36.                         ),
  37.                       ),
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement