How do I animate a custom tab bar widget in Flutter?
So I have this widget that allows the user to select a tab from two or more tabs. This works fine in functionality but I want to animate it in such a way that when the user clicks on the…
So I have this widget that allows the user to select a tab from two or more tabs. This works fine in functionality but I want to animate it in such a way that when the user clicks on the…
I want to achieve the attached UI widget using custom paint or any other suitable way around, which should work well across different device sizes. image
How to create button using stack widgets and curved desgin with out background images.
In this code i try to make a simple increasing number with SlideTransition but it doesn't work correctly, i could only use ScaleTransition successful. that means i want to increase number with SlideTransition Gif example of what i want to…
How can I pass the ontap function to each icons items: const <BottomNavigationBarItem>[ BottomNavigationBarItem( icon: Icon(Icons.call), label: 'Calls', ), BottomNavigationBa ], onTap: (i) { }, How.do i pass it to each items
I want a button to change between ElevatedButton and OutlinedButton. I have this code snipped: class Home extends StatefulWidget { const Home({super.key}); @override State<Home> createState() => _HomeState(); } class _HomeState extends State<Home> { var _highlighted = false; void _onPressed() {…
i tried to wrap my cintainer with a sizedBox but it threw an error. i honestly don't know what to do // ignore_for_file: prefer_const_constructors, file_names, prefer_const_literals_to_create_immutables, use_full_hex_values_for_flutter_colors import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class RowItemsWidget extends StatelessWidget { const RowItemsWidget({super.key}); @override Widget…
I want to achieve the functionality along with animation of reorderableListView Widget when it is dragged and dropped but instead of dragging how could it be done explicitly by a button click? Expected Output : - This is what I…
Maximum dates that show in that percentage indicator was 20 If my current pending day is 10 then it will be show like half of the progress bar. how can I show like this? Sample code here: class _ApplyLeaveState extends…
How we can do this type if the number was 28 the before 2 digit 00 will be shaded if it was 5 before 3 digits will be shaded in flutter