flutter_remix 0.0.3 flutter_remix: ^0.0.3 copied to clipboard
The complete Remix Icon pack available as Flutter Icons. This package acts as a more attractive replacement for the default Material icon set.
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),
),
);
}
}