flutter_toolbar 0.0.2 copy "flutter_toolbar: ^0.0.2" to clipboard
flutter_toolbar: ^0.0.2 copied to clipboard

A flutter package which display the library is a library with dynamic toolbars and beautiful animation ...

example/lib/main.dart

import 'package:example/constants.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_toolbar/flutter_toolbar.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);

    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        scaffoldBackgroundColor: Colors.white,
        fontFamily: 'TitilliumWeb',
        primarySwatch: Colors.pink,
        brightness: Brightness.light,
        appBarTheme: const AppBarTheme(
          systemOverlayStyle: SystemUiOverlayStyle.dark,
        ),
      ),
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: const EdgeInsets.symmetric(horizontal: 20),
            child: FlutterToolbar(
              toolbarItems: Constants.toolbarItems,
            ),
          ),
        ),
      ),
    );
  }
}
2
likes
120
pub points
59%
popularity

Publisher

verified publisherrecord.planetcoder.net

A flutter package which display the library is a library with dynamic toolbars and beautiful animation ...

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_toolbar