flutter_responsive 0.0.6 flutter_responsive: ^0.0.6 copied to clipboard
Responsive and wrap behaviour for layout and texts widgets in Flutter. This plugin was inspired on Bootstrap web project.
import 'package:flutter/material.dart';
import 'package:flutter_responsive_example/pages/home_page.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyApp createState() => _MyApp();
}
class _MyApp extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Responsive Example',
theme: ThemeData(
primaryColor: Color.fromARGB(255, 86, 61, 124),
accentColor: Colors.black,
// Define the default font family.
fontFamily: 'Roboto',
),
home: HomePage(),
);
}
}