autility 1.0.4 copy "autility: ^1.0.4" to clipboard
autility: ^1.0.4 copied to clipboard

A collection of commonly used tools for developers,eg timer, network, shared preferences.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(title: 'Home Page'),
    );
  }
}

class HomePage extends StatefulWidget {
  HomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[],
        ),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}
1
likes
40
pub points
0%
popularity

Publisher

verified publisheradeveloper.tech

A collection of commonly used tools for developers,eg timer, network, shared preferences.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

connectivity, convert, crypto, flutter, shared_preferences

More

Packages that depend on autility