flutter_remix 0.0.1 flutter_remix: ^0.0.1 copied to clipboard
The complete Remix Icon pack available as Flutter Icons.
import 'package:flutter/material.dart';
import 'package:flutter_remix/flutter_remix.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primarySwatch: Colors.red,
),
home: MyHomePage(title: 'FlutterRemix Demo'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Text(
'FlutterRemix pack rocks!',
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => {},
child: Icon(FlutterRemix.search),
),
);
}
}