Answers for "information button flutter"

10

flutter button

FlatButton(
              color: Colors.red,
              splashColor: Colors.black12,
              onPressed: (){
              },
              child: Text(
                "Nouvelle Texte"
              ),
            ),
Posted by: Guest on April-14-2020
0

flutter info button

//_tooltipKey is defined as final _tooltipKey = GlobalKey();
Tooltip(
          key: _tooltipKey,
          message: S.of(context).dishSpicinessRatingExplanation,
          textStyle: regularTextStyle.copyWith(color: Colors.white),
          preferBelow: false,
          child: IconButton(
            icon: FaIcon(FontAwesomeIcons.infoCircle, color: Colors.black45),
            onPressed: (){
              final dynamic tooltip = _tooltipKey.currentState;
              tooltip.ensureTooltipVisible();
            },
          )
        )
Posted by: Guest on March-22-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language