Home > Software engineering >  Flutter How to make floating button like hotels.com app see all
Flutter How to make floating button like hotels.com app see all

Time:03-03

In Hotels app Flutter How to make floating button like hotels.com app see all

TextButton(
  style: ButtonStyle(
    overlayColor: MaterialStateProperty.resolveWith<Color?>(
      (Set<MaterialState> states) {
        if (states.contains(MaterialState.focused))
          return Colors.blue;
        return null; // Defer to the widget's default.
      }
    ),
  ),
  onPressed: () { },
  child: Text('See All'),
)

[images] [1]: enter image description here

  • Related