apex_flutter_sdk 1.1.0 copy "apex_flutter_sdk: ^1.1.0" to clipboard
apex_flutter_sdk: ^1.1.0 copied to clipboard

discontinued
outdated

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),
      ),
    );
  }
}
9
likes
0
pub points
19%
popularity

Publisher

verified publisherpacks.apexteam.net

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

Homepage

License

unknown (LICENSE)

Dependencies

flutter, shamsi_date

More

Packages that depend on apex_flutter_sdk