apex_flutter_sdk 1.1.0
apex_flutter_sdk: ^1.1.0 copied to clipboard

ApexTeam flutter software development kit for ApexTeam co. Open and free for everyone to use <3

example/lib/main.dart

import 'package:apex_flutter_sdk/components/basic/expandable_chip.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

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

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

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

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

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  String _test = '';

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Directionality(
        textDirection: TextDirection.rtl,
        child: Stack(
          children: [
            Positioned(
                top: 0,
                bottom: 0,
                right: 0,
                child: Container(width: 100, height: 100, child: TextField())),
            Center(
                child: ExpandableChip(
                    icon: Icons.help_outline,
                    iconColor: Colors.white,
                    child: Text('Wazap nigga', style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 15),),
                    shrinkSize: 54,
                    expandedSize: 175,
                    duration: Duration(milliseconds: 400),
                    backgroundColor: Colors.blue,
                    onTap: () {}))
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}
8
likes
80
pub points
38%
popularity

Publisher

packs.apexteam.net

ApexTeam flutter software development kit for ApexTeam co. Open and free for everyone to use <3

Homepage (missing)

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, shamsi_date

More

Packages that depend on apex_flutter_sdk