gmana_ext 0.0.9 copy "gmana_ext: ^0.0.9" to clipboard
gmana_ext: ^0.0.9 copied to clipboard

discontinued

gmana extensions is a utility helpers to faster development for internal.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:gmana_ext/gmana_ext.dart';

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

class GApp extends StatelessWidget {
  const GApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({super.key, required this.title});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              [
                [1, 2, 3],
                [4, 5, 6],
                [7, 8, 9]
              ].flatten().toString(),
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
    );
  }
}
1
likes
0
pub points
0%
popularity

Publisher

verified publishergmana.co

gmana extensions is a utility helpers to faster development for internal.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on gmana_ext