Answers for "flutter icons font"

1

font awsome flutter ,flutter font awsome

import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      // Use the FaIcon Widget + FontAwesomeIcons class for the IconData
      icon: FaIcon(FontAwesomeIcons.gamepad), 
      onPressed: () { print("Pressed"); }
     );
  }
}
Posted by: Guest on April-20-2021
15

flutter icon

Icon(
          Icons.home,
          color: Colors.blue,
          size: 40.0,
          textDirection: TextDirection.ltr,
          semanticLabel: 'Icon', // Announced in accessibility modes (e.g TalkBack/VoiceOver). This label does not show in the UI.
        ),
Posted by: Guest on August-20-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language