flutter_button 0.0.4 copy "flutter_button: ^0.0.4" to clipboard
flutter_button: ^0.0.4 copied to clipboard

discontinued

This packege help you for develop applications fast and clean.

example/lib/main.dart

import 'package:example/screens/3d.dart';
import 'package:example/screens/custom.dart';
import 'package:example/screens/fab.dart';
import 'package:example/screens/insta.dart';
import 'package:example/screens/social.dart';
import 'package:example/screens/text.dart';
import 'package:flutter/material.dart';
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: "flutter buttons",
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: 6,
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Colors.red,
          bottom: buildTabBar(),
          title: Text("flutter buttons' example app"),
        ),
        body: buildBody(),
      ),
    );
  }

  TabBarView buildBody() {
    return TabBarView(
      children: [
        Button3DScreen(),
        Social(),
        Custom(),
        InstaScreen(),
        TextScreen(),
        FabScreen(),
      ],
    );
  }

  TabBar buildTabBar() {
    return TabBar(
      indicatorColor: Colors.white,
      tabs: [
        Tab(icon: Text("3D")),
        Tab(icon: Text("Social")),
        Tab(icon: Text("Custom")),
        Tab(icon: Text("Insta")),
        Tab(icon: Text("Text")),
        Tab(icon: Text("FAB")),
      ],
    );
  }
}
35
likes
40
pub points
66%
popularity

Publisher

unverified uploader

This packege help you for develop applications fast and clean.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on flutter_button